Mystery of Fibonacci
Fibonacci sequence is a recursive sequence that depends on the following definition: Fib(N) = Fib(N-...
Obligatory IDPC Problem
There are n people busy with arranging the upcoming Inter Department Programming Contest (IDPC) 2016...
ACT 1: Ash Counting Trees
Ash Ketchum has a weird rooted tree (read Notes sections if you don't know about tree data structure...
The Game Is Back On
Moriarty is bored again. When he gets bored, the only thing he wants to do is play with Sherlock. So...
Is It a Perfect Square?
Given some numbers, can you tell, if the product of these numbers are a perfect square or not? A num...
Palindromic CSEmpur
Welcome to CSEmpur once again! It has been observed that a good number of inhabitants like palindrom...
Arrange the Bricks!
You have $N$ bricks two dimensional bricks of the dimension $1 \times 2$. The bricks are rotatable i...
Erik: The Candyboy - 1
Erik has N candies, and he wants to distribute those candies among his friends. But he has more frie...
The Story of Two Friends
There are two friends F1 and F2 in a city. They both are student of FCB High School. Also, they resi...
Compute the Combination
Let P = C(N,0) - C(N,1) + C(N,2) - C(N,3) + ... + C(N,N); where C(n,r) is "n choose r". You are give...
Admission Gift
During admission exams in the city of RR (Royal Royal city), the students of RR University of Engine...
Subset of Sequences
You will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila...
Finding Lines
Annabel and Richard like to invent new games and play against each other. One day Annabel has a new ...
Phi Numbers in Range!
In number theory, Euler’s phi function, denoted as ϕ(n), is an arithmetic function which counts the ...
Magician's Offer!
Rosi Vidmun is a greedy landlord who likes to grab as much land as he can. Currently he has P square...
Prime Factors
Given an integer N, can you determine its prime factors?
String Factory
Welcome to the string factory where strings are generated in a peculiar manner. You are given a stri...
Help Chokro
Pias and Chokro are good friends. Pias's birthday is coming soon. So, Chokro wants to gift Pias an a...
Sofdor Ali's Restaurant
One of Sofdor Ali’s greatest accomplishment was his Biriyani restaurant! Unlike the traditional rest...
Powerful Number
Efa loves numbers. She thinks a number is powerful if it can be expressed in the form xy where x and...
Tom Is a Good Mentor
Today is the first day of the little mouse Jerry at school. Famous mathematician Tom is his teacher....
Kitchen Combinatorics
The world-renowned Swedish Chef is planning a gourmet three-course dinner for some muppets: a starte...
Pera in CSEmpur
Who does not like a short and precise problem statement? Atleast everyone in CSEmpur does. You are g...
The Easiest Problem
Tareq Abrar is a lazy programmer. He has a friend named Aminvai, who is famous for his amazing skill...
BigNumSum
You will be given two numbers of 40 digits each. You will have to print the summation of these two n...
Toph uses cookies. By continuing you agree to our Cookie Policy.