Can You Make It Close
A boy named Poltu is very fond of food. He eats a lot and you can tell so by looking at him. There a...
Moderate 6/40/243
Fivefold Removals
Alice and Bob are playing a simple game on marbles. They have a bucket containing N marbles, and the...
String Sorting
You'll be given a string s=s1​s2​.....sn​ of length n consisting of lowercase English letters and q ...
Arghya Moderate 14/20/77
President of RUET FC
Zenitsu has been elected as the president of RUET FC and now he wants to sign some of the best world...
Programmer’s Meetup
—You might have heard about our programmer’s meetup program aka the "Chocolate Distribution". Let’s ...
Magician's Offer!
Rosi Vidmun is a greedy landlord who likes to grab as much land as he can. Currently he has P square...
Bubble Shooter
Bloblob is a very famous bubble shooter. He has a Rifle with an infinite number of bullets to shoot ...
Moderate 48/53/118
OCD Returns!
This problem author has OCD (obsessive–compulsive disorder). One day his teacher gave him an array o...
Phi Numbers in Range!
In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ...
Alice and the Chessboard
It's Sunday afternoon, and Alice is in her room trying to figure out the rules of the game called Ch...
Overpowered
‘’True wisdom lies not in knowing all the answers, but in embracing the mystery of the unknown and ...
XORs
You are given n integers as a1​, a2​, a3​, a4​, …, an​. First of all, you have to find the XORs of a...
Masha and Stones
Masha has a good habit of collecting stones. Thus she lives by the side of the sea. Every morning sh...
Magic Moments
You are going to a village by bus. You need k hours to do an important task while your bus journey w...
Special Pair
Mr. X is an “array pagla” person. He loves doing different types of things with arrays. Today Mr. X ...
Ulta Masud
Mr. Masud is a superstitious executive of an administrative office in Wadia, and you have to bribe h...
Video Game Pro
Shefin is playing a video game. In this game, there will be $N$ buildings in a row. $i^{th}$ buildin...
Farewell Gift for Messi
Lionel Messi, the greatest footballer of all time, is going to retire from international football! O...
Easy Sequence 2
Let’s define a easy sequence F. Where $ F(1) = 1 $ $ F(2X) = F(X)^2 + 1 $ $ F(2X+1) = F(X) \times F(...
Mix and Merge
You are given an array A of n elements and a constant k. You can perform the following operation on ...
reborn DP Moderate 5/19/83
Your Love for Geometry
You are given a right triangle ABC where angle ABC is the right angle and BD is perpendicular to AD....
BAPG
Russell loves solving math problems and also playing online games. Recently, he has started playing ...
Subset of Sequences
You will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila...
Tahsin and the Assignment
Mrs SSM always gives assignments to her students. Last week was no different, as she gave an assignm...
Hardest Problem Ever
Prof.Dr.DP is very famous professor. He is expert (actually legendary grandmaster) in Dynamic Progra...
Toph uses cookies. By continuing you agree to our Cookie Policy.