Calculate the Sum If You Can
This problem deals with the following expression: 1−2+1−2+1−2+1−2+1−2+1−2+1−2+... Given n, you have ...
Gutibaji on Chessboard
Let there be a chessboard of size N×M, and only one bishop in a cell (x,y). How many cells can the b...
Power of Army
Recently Chikanu declared war against Shukanu. To win the battle against Shukanu he wants to form an...
Counting Is Difficult
East West University Computer Programming Club is organizing a programming contest today. One of you...
Game, Game Everywhere
Binary and Ternary are playing a game. In this game, they initially choose an array with N elements....
Dengue
Once upon a time there was a king. He had a huge kingdom and the king was very kind. All of his subj...
Bad Boy Ekhlas
Ekhlas is a bad boy, not the type of bad that you generally admire. When he was little, his primary ...
Scholarship
Your school is going to start a new scholarship program. To apply for this scholarship you have to w...
Power and Mod
Exponentiation is a mathematical operation, written as b n , involving two numbers, the base b and t...
Arya and OR
Little Arya loves to play with numbers. She likes to play in different ways with them. One day she s...
Scary Big Chessboard
Our friend Alice got stuck in a big chessboard. The chessboard has N rows and N columns. Some cells ...
Spot It!
Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t...
Kinderbijslag
Kinderbijslag (children's allowance) is a social security payment which is distributed to the parent...
Math Very Easy 318/338/593
Magic Square
A little boy Towhid is good at mathematics. He solves a lot of mathematical equation regularly. He i...
Sofdor Ali and Histogram
The Great Sofdor Ali is now interested in competitive programming. Seeing this, his friend and also ...
Playing With Your Mind
Given a non-negative integers N. You have to find an integer P such that, the following conditions s...
Easy Summation
Little Arya is growing up fast and now she can count the numbers. The problem with her counting is t...
Red and Green
Suppose, there is an array of N integers. Each index of the array is either red or green. The first ...
Boltu vs Balti
Boltu and Balti are two friends. Boltu is a great programmer whereas Balti is a newbie programmer. B...
Arithmetic Sequence (Easy)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
How Many Ways?
Regular problem solvers starts their journey by solving ad hoc and number theory. After getting the ...
Delete the Array
There is an array of size n. You will be given an integer x. In each move you have to subtract x or ...
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...
Arithmetic Sequence (Hard)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
Math Very Easy 274/292/483
Circle and Square
Meena and Raju are learning about different shapes. Meena's favourite shape is Circle while Raju lik...
Toph uses cookies. By continuing you agree to our Cookie Policy.