Make More Money
You, the great businessman of TEUB, arrived at ESC land which consists of N cities numbered from 1 t...
Paying Bills
Mued is finally home for summer vacation after surviving yet another semester of the mighty CS Under...
Cash Change
You have an unlimited number of cash notes of the following denominations: 1, 5, 10, 50, 100, 500. G...
Divisible LCM
You have a sequence a1​, a2​, a3​, …, an​ of n integers and q queries. In each query, you are given ...
m-Beautiful Numbers
An m-Beautiful Number is a number which is divisible by $m$ and the sum of the digits is also divisi...
MSIS!
Do you know what MSIS is? MSIS is the abbreviation for Maximum Sum Increasing Subsequence. It is a s...
Reverse Hash
Binary strings are strings that can only have 0 or 1 as the characters. The hash value of a string i...
Train Hijack
You and your friend Daneliya Tuleshova are planning to hijack a train. Your friend will go inside a...
Interesting Parenthesis
Parentheses sequence of length 2n is the sequence containing exactly n opening parentheses «(» and e...
Passwords
Alice wants to extract some passwords from a random string. A password can have any number of charac...
Make It Big!
You are given a number N (10 ≤ N ≤ 2×109). You have to perform exactly two swap operation. You can c...
Unique Relief
Thanos has now figured out how to visit all the houses in the flood-affected area. However, now he h...
No GCD
You are given N integers. Each integer is square free (i.e. it has no divisor which is a square numb...
Misti Chor
Bhootu likes to eat misti. As he is a mischievous kid, he has decided to steal misti from the nearby...
Escape Plan
Hey, you are stuck on prison and you have to get out soon. This prison has one way road and you can ...
Sticking Pins
You are sticking pins on a 2D board at N given coordinates. However, since you are not very good at ...
Smart Feature Phone 2
Alice worked in CIA. Right now he need to send an encrypted message to the headquarter(HQ) of CIA. ...
Subset AND
You are given an array A of n integers and an integer k. You need to find if there is any non-empty ...
Hizitizi's Array Cutting
Hizitizi is a new character in our story. In every episode, he gets a task to do from his imaginary ...
Aliens
19 February 2020, Unidentified flying object (UFO) has captured student’s attention on top of the CS...
Harry Potter and the Vault of Gringotts
"There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi...
Gaaner Koli
The protagonists of this problem are two great programmers of a certain institution Omanush and Ordi...
Alice in Candyland
Alice came up with a new game. In this game called "Candy Quest", there is a NxN size 2D grid. In ea...
Subarray Sum
You are given an array having N integers. You have to select at most K positions in the array and re...
OCD Returns!
This problem author has OCD (obsessive–compulsive disorder). One day his teacher gave him an array o...
Toph uses cookies. By continuing you agree to our Cookie Policy.