Find the Number of Pearls Today is a very special day. It’s the birthday of only one girlfriend of programmer Shojib. Now, you... |
Recursive World! See following the two recursive functions: C(0) = 0 C(1) = 5 C(K) = C(K-1) + 4 F(0) = 1 F(1) = 2 F(N... |
MEXFN This is a straightforward problem without much story behind the problem. You have to calculate MEXF... |
Maximum Distance You know it’s hard seeing your favorite person being interested in another one instead of you. At th... |
Calendar of Planet Biku Mr. Hikiko is the emperor of a planet called Biku. He got a gift from planet earth which can count t... |
Lazy Supermen There are two hills in Sonargaon. The heights of them are H1 and H2 meter. The distance between the ... |
The Lucky Dice Ray and Evangeline are playing a game named "The Lucky Dice". In this game, each player tosses up an... |
Killing Floor $N (1 \leq N \leq 10^{18})$ robots have decided to take part on a battle royale. Every robot has a u... |
Arko and Special Permutations Arko is very fond of permutations. He can easily calculate the number of n length permutations. (In ... |
Arunima City After the big decentralization process, where Dhaka city's population were relocated, a new city cal... |
Nodes and Depth From the above figure, the number of nodes for the first three depths are 3, 9, and 27. You will b... |
Cocoa Coalition Alice and Bob decide to share a chocolate bar, which is an $n$ by $m$ rectangular grid of chocolate ... |
Recursive Function A common example of recursion goes something like this: long long recur(int x){ if (x==0){ return X0... |
Blanket You have a suitcase with length X, width Y and height Z. You also have a very comfortable blanket. I... |
Khataraina is Back! Last year we helped Adnan with his girlfriend Khataraina’s issue. This year she caused another troub... |
Building Boundaries Maarja wants to buy a rectangular piece of land and then construct three buildings on that land. The... |
Circle of Death Abir is a school going boy, who loves math. Also, he loves to play with stones. Recently he invented... |
The Mughal Emperor You all must’ve heard the name of the emperor Humayun Mirza. He was a very kind human being. But thi... |
Poltu and Trailing Zero Poltu gives a problem to his friend Boltu. The description is given below: You are given an integer ... |
Palindromic CSEmpur Welcome to CSEmpur once again! It has been observed that a good number of inhabitants like palindrom... |
Ant Query Scientists from the planet Krypton have figured out a way to grow artificial sugar in space. They ha... |
Demonic Subset Lets not waste your time with long tiring problem statement and just go straight to the point. You a... |
Help Lazy Tareq There is a boy named Tareq Abrar who is very lazy. He likes sleeping. He also likes eating. His moth... |
Scary Big Chessboard Our friend Alice got stuck in a big chessboard. The chessboard has N rows and N columns. Some cells ... |
Wizard Duel Wizard Duel is approaching soon in Hogwarts and the students of the Dueling Club are absolutely thri... |