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...

Standings
A. Substring Search
You are given n strings s1​,s2​,s3​,…,sn​ and should process m queries. Each query is described by f...
B. Treasure
There's a hidden treasure in a castle. There are n guards protecting the treasure. But the guards ar...
C. Pass the Parcel
There are n people in a room. They want to play a game called “pass the parcel”. The people are numb...
D. Mathemagic
You 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 Problem
You are given a string str consisting of characters 0 and/or 1 with an arbitrary integer n. Without ...
F. Broken Wall
Alice has built a rectangular wall of N×M squares. The wall is made entirely of rectangular black an...
border Moderate 20/25/74
G. Good Array
An integer array is a good array if we can make the whole array empty by applying the following oper...
H. MEXimum
Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au​ ass...
I. SUM Equals LCM
Given N, print a sequence of N positive integers A1​,A2​,…,AN​ that satisfy the following conditions...
J. Average Query
You are given an array s1​,s2​,…,sn​ of length n and an arbitrary integer x. For an array, c1​,c2​,…...
steinum Moderate 6/8/23
Toph uses cookies. By continuing you agree to our Cookie Policy.