# Problems from SEC Inter University Junior Programming Contest, 2022

These problems are from a contest organized by Sylhet Engineering College on August 27, 2022 at 4:30 AM UTCSee details...

 A. Substring SearchYou are given n strings s1​,s2​,s3​,…,sn​ and should process m queries. Each query is described by f... Moderate 13/40/238 B. TreasureThere's a hidden treasure in a castle. There are n guards protecting the treasure. But the guards ar... Very Easy 194/219/557 C. Pass the ParcelThere are n people in a room. They want to play a game called “pass the parcel”. The people are numb... D. MathemagicYou are given a sequence a of length n. For an arbitrary number x, f(x) can be defined as the number... Very Easy 86/118/507 E. Yet Another Strong ProblemYou are given a string str consisting of characters 0 and/or 1 with an arbitrary integer n. Without ... Moderate 8/24/87 F. Broken WallAlice has built a rectangular wall of N×M squares. The wall is made entirely of rectangular black an... Moderate 16/19/58 G. Good ArrayAn integer array is a good array if we can make the whole array empty by applying the following oper... H. MEXimumLet’s get straight to the point. You are given a tree. In the tree, each node u has a number au​ ass... Moderate 71/98/610 I. SUM Equals LCMGiven N, print a sequence of N positive integers A1​,A2​,…,AN​ that satisfy the following conditions... Very Easy 107/114/175 J. Average QueryYou are given an array s1​,s2​,…,sn​ of length n and an arbitrary integer x. For an array, c1​,c2​,…... Moderate 4/5/17

### Practice Contest

Practice contests allow you to re-run contests and experience them as close as possible to the original run.