Raem's Square
Raem is an eight years old boy. One day his family was visiting Dhaka Shishu Park near Shahbag. Besi...
No Onion, No Cry
-Onions make us cry, don't they? They can make us happy too. -How? -Read the statement carefully! I...
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 ...
Mr Makor And His Friends
Mr Makor has a set S of n integers. He calls a sequence of length k special if every element of the ...
Boys in the Assembly
N boys are standing in the assembly. There is a single line only. Boys are denoted by their roll num...
M-Sequence
A sequence is called M-sequence if after removing zero or more elements from the sequence the GCD of...
Exponential Growth
You will be given two integers X and N, you have to calculate XN modulo 1000000007.
Composite Facts
Let's define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m non-prime integers which ...
GCD Plus LCM
In this problem you will be given two integers a, b. You have to answer if GCD(a,b)+LCM(a,b)=a+b is ...
Perfect Points
Perfect lines are the lines y=mx+c such that m and c are positive integers. Perfect points are the p...
Weird Subtraction
You are given two integers n and m. You have to subtract m from n until n becomes less than or equal...
Beauty of AP
Solving problems is fun in competitive programming, right? So let’s solve a fun task today too :P. 1...
How Many Kids Are in the Circle?
A group of kids are standing in a circle and playing catch the ball. For fair play, they always main...
Solve This Giveaway Problem First
This problem is straightforward and easy. You will be given two integers N, P and a list L of positi...
Find the Number of Pearls
Today is a very special day. It’s the birthday of only one girlfriend of programmer Shojib. Now, you...
Is Bita Happy?
Bita has learned bitwise-operations recently. She is doing some experiments with these operations no...
I Love 0
Since childhood Abir loved to play with numbers, one day he was counting numbers from 1 to 100 and h...
Rivalry Friends
Ryo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t...
How Many Litchis?
Tasnim comes to visit Dinajpur which is very famous for litchi production. Today, she comes to a lit...
Math Very Easy 169/210/469
Admission Gift
During admission exams in the city of RR (Royal Royal city), the students of RR University of Engine...
Proper Leap Years
Byang's friend was asked to author a programming problem where the challenge was to identify if the ...
Day-Month-Year
Meena is a talented girl in her class. She likes to brainstorm in her leisure times. One day, she wa...
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 ...
Modulo
Let's get straight into the problem. In ths problem, here will be multiple test cases. In each test ...
Byang's Additions
Byang is learning how to add numbers. However, he gets confused whenever there is a carry. To help B...
Toph uses cookies. By continuing you agree to our Cookie Policy.