Victory Robot
Your school is going to arrange a ceremony to celebrate the upcoming victory day. So the high school...
For Loop FTW
You are given an integer N which can be represnted as the product of two positive integers. $ N = a_...
Area of a Portion
W is working on the field from very beginning of the day. Now he has get tired and taking rest. At t...
Niko Goes Farming
Niko has completed his degree in CSE from North South University. Now he has been tenaciously lookin...
Meena Has Three Wishes
Definition: We all know how to measure the linear distance between two points A and B. It is measure...
Buzz Lightyear
Buzz Lightyear (character from famous movie ‘Toy Story’) is done with inter galactic battle and now ...
Weapon Supplier
Zorro is the chief in charge of central space station. He supplies weapons to all other space statio...
Office Para
The streets of Office Para were dark at night because the lamps on the streets weren’t working and t...
An Arithmetic Problem
A sequence is an arithmetic sequence if every two successive number has same difference. Suppose thi...
Prisoners
Let me tell you a story of a dangerous prison. There were N prisoners in that prison. It is guarante...
Stack Overflow
Stack is a basic data structure. Where 3 operations can be done: Push: You can push object to the s...
Act of Random Kindness (Hard)
Sammy and Meera liked adventures a lot. Once in a while they used to set out adventures. This time t...
Sofdor Ali's Magical Blackboard!
Sofdor Ali found interest in mathematics very early in his life. And now, he wants to spread this in...
Sofdor Ali and Radioactivity
Sofdor Ali is the craziest and clumsiest scientist in Bangladesh. He tries to maintain the safety me...
Are You Coding Me?
In the year 1992 AD, little Pranoti started to learn how to write. She already figured out that her ...
Recursive Function
A common example of recursion goes something like this: long long recur(int x){ if (x==0){ return X0...
Mr. Ant and His Problem
Mr. Ant has 3 boxes and the infinite number of marbles. Now he wants to know the number of ways he c...
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...
Two Friends
CodeMask and CodeNewtons are two friends. Today they are playing an interesting game. The game invol...
Version Checker
Java Development Kit (JDK) installer for Mac OS X has a bug: Can you spot it? Notice how Java is ch...
GCD and NOD
Given 3 numbers, G, A and B we have to find two numbers M and N such that they satisfy the following...
Shopping
There are two gift shops in the city. They are going to merge together to create a bigger company. Y...
Positive Area Triangles
Given a grid with length X and height Y, we can select any lattice point ( lattice point = integer c...
Bloodlust
Mr. X is a dangerous criminal. He likes to draw some geometric random stuff and get motivated for hi...
Prisoners of Musabad
In the city of Musabad, criminals are punished heavily. Once an enemy is caught, he is kept in the j...
Toph uses cookies. By continuing you agree to our Cookie Policy.