Boys in the Assembly N boys are standing in the assembly. There is a single line only. Boys are denoted by their roll num... |
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... |
Raem's Square Raem is an eight years old boy. One day his family was visiting Dhaka Shishu Park near Shahbag. Besi... |
Dengue Once upon a time there was a king. He had a huge kingdom and the king was very kind. All of his subj... |
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 ... |
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... |
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... |
Permutations and Divisors Let P be a permutation of length n where each value from 1 to n occurs exactly once. A subsequence o... |
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... |
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... |