Nusrat's Treat We all know how much Nusrat loves chocolate! She gets a lot of chocolate from her friends and family... |
Largest Prime A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe... |
Window Seats on a Bus Karim is traveling by bus. He has the window seat. However, he has to share the window with the pass... |
Recursive Function A common example of recursion goes something like this: long long recur(int x){ if (x==0){ return X0... |
An Arithmetic Problem A sequence is an arithmetic sequence if every two successive number has same difference. Suppose thi... |
Fair Distribution Mr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe... |
Count the Odds Sometimes, contestants tend to look for patterns in problem descriptions. They try to figure out the... |
Arunima City After the big decentralization process, where Dhaka city's population were relocated, a new city cal... |
Thought Game Sadia is one of the nicest persons you will ever meet. In fact, she is one of those persons who like... |
Demonic Subset Lets not waste your time with long tiring problem statement and just go straight to the point. You a... |
Exponential Growth You will be given two integers X and N, you have to calculate XN modulo 1000000007. |
Boys in the Assembly N boys are standing in the assembly. There is a single line only. Boys are denoted by their roll num... |
Life of Phi II You will be given two integers n and m where GCD(n,m)=1. You have to tell that how many numbers are ... |
Raem's Square Raem is an eight years old boy. One day his family was visiting Dhaka Shishu Park near Shahbag. Besi... |
Lazy Supermen There are two hills in Sonargaon. The heights of them are H1 and H2 meter. The distance between the ... |
Counting Is Difficult East West University Computer Programming Club is organizing a programming contest today. One of you... |
Arshiya's First Code Arshiya is just three and she already started programming. She has learned how to write loops. Recen... |
Area In this problem, you will be given a square which has a length of n. Co-ordinates of the square are ... |
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... |
Tower of Sticks You may have played the game The Tower of Hanoi. The game contains three towers. You've to place 8 d... |
Highschool Mathematics We do Algebra, Geometry, Matrix, Trigonometry, Calculus, Vector, Permutation - Combination, Probabil... |
Poltu and Odd Number Today is Poltu’ first C programming class. And, he needs your help with a programming task. Given tw... |
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 =... |
The Lucky Dice Ray and Evangeline are playing a game named "The Lucky Dice". In this game, each player tosses up an... |
Interplanetary Mission The National Space Center(NSC) is planning an interplanetary mission in a new galaxy far far away fr... |