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 UTC See details...

 A. Substring SearchYou are given n strings s1​,s2​,s3​,…,sn​ and should process m queries. Each query is described by f... Moderate 15/46/245 B. TreasureThere's a hidden treasure in a castle. There are n guards protecting the treasure. But the guards ar... Very Easy 209/233/592 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... E. Yet Another Strong ProblemYou are given a string str consisting of characters 0 and/or 1 with an arbitrary integer n. Without ... F. Broken WallAlice has built a rectangular wall of N×M squares. The wall is made entirely of rectangular black an... Moderate 17/21/66 G. Good ArrayAn integer array is a good array if we can make the whole array empty by applying the following oper... Moderate 31/48/140 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 90/118/728 I. SUM Equals LCMGiven N, print a sequence of N positive integers A1​,A2​,…,AN​ that satisfy the following conditions... Very Easy 117/124/192 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.