Dengue Once upon a time there was a king. He had a huge kingdom and the king was very kind. All of his subj... |
Absolute Value You will be given an integer x. The absolute value of x will be within 100. You have to add 1 to x's... |
Chief Thief A group of thieves steal only money. Every morning they deposit the money to their leader. The leade... |
Hello Choto Bondhu! Let's play a game. I will give you a number n. You will have to tell me n2. Okay, it may seem diffic... |
Circle of Death Abir is a school going boy, who loves math. Also, he loves to play with stones. Recently he invented... |
Bad Boy Ekhlas Ekhlas is a bad boy, not the type of bad that you generally admire. When he was little, his primary ... |
Most Difficult Problem Ever You are given a function like below: long long F(int A, int B, int C, long long x) { long long res =... |
Spot It! Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t... |
Power and Mod Exponentiation is a mathematical operation, written as b n , involving two numbers, the base b and t... |
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 ... |
Permutations and Divisors Let P be a permutation of length n where each value from 1 to n occurs exactly once. A subsequence o... |
The Reminder to Expect Do you know Trevor Philips? Well he is a mad guy who gets mad at everything. Recently he got mad at ... |
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 ... |
A Girl's Story Meena (Bengali: মীনা) is a fictional character who stars in the South Asian children's television sh... |
Khataraina is Back! Last year we helped Adnan with his girlfriend Khataraina’s issue. This year she caused another troub... |
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... |
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... |
Squares Inside Square Hello , Programmers. There is one thing that I don't like about competitive problem solving, which i... |