WatercolorBob is the owner of a shop named “Color Maker”. He has 256 types of watercolor in his shop. The type...

Be Like HasibHasib, the famous programmer, uses a little game when he teaches Binary Search to his students. He r...

BuildingsThere are n buildings in a row. The height of the i’th building is hi. You have ৳k. It is the amoun...

An Obvious Interactive ProblemI pick a number. You guess it. You can guess at most 25 times. For every guess you make, I will tel...

Balanced ReliefThanos just finished his relief work. We all know that Thanos loves balanced things. So he finds so...

Most Difficult Problem EverYou are given a function like below: long long F(int A, int B, int C, long long x) { long long...

Spot It!Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t...

Mind Flayer Has Attacked Again!Mind flayer, the shadow monster has attacked the town of Hawkins again. This time, the mind flayer h...

I Scream, You Scream!Meem loves ice cream cones. So much so that she created an ice cream stand to share the joy of ice c...

Complex OperationsYou are given an array A of length N. You have to perform two different types of operations. In the...

Poltu and Interesting NumberPoltu Loves interesting number. So he wants to find this type of number. The definition of an inter...

XOR PartitionNeo has a hidden array A of n integers where 0 ≤ Ai ≤ 109 is satisfied for each i from 1 to n . You...

Jenga TowerMaybe you all are familiar with Jenga Game. “Jenga is played with 54 wooden blocks. Each block is th...

Sofdor Ali and Attack OptimizationTuki and Jha is in the middle of an interplanetary war and their base is under drone attack! They ar...

The Multiplayer Action GameHave you played the game Agar.io? According to wikipedia, Agar.io is a massively multiplayer action...

MSequenceA sequence is called Msequence if after removing zero or more elements from the sequence the GCD o...
