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...
Chief Thief
A group of thieves steal only money. Every morning they deposit the money to their leader. The leade...
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...
Magic Square
A little boy Towhid is good at mathematics. He solves a lot of mathematical equation regularly. He i...
Khataraina is Back!
Last year we helped Adnan with his girlfriend Khataraina’s issue. This year she caused another troub...
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...
How Many Ways?
Regular problem solvers starts their journey by solving ad hoc and number theory. After getting the ...
Demonic Subset
Lets not waste your time with long tiring problem statement and just go straight to the point. You a...
A Girl's Story
Meena (Bengali: মীনা) is a fictional character who stars in the South Asian children's television sh...
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...
N Factorial!
I like short descriptions and I think you so too. Let's say you have a number, N. Now try to find th...
Meena Meets The Marauders
December 14, 1975 Hogwarts School of Witchcraft and Wizardry It’s been a long long day. The Marauder...
Toph uses cookies. By continuing you agree to our Cookie Policy.