Love Letters!
Lately Fahim is getting a lot of love letters. A LOT of love letters. Since he is confused about whi...
Running Average Again
Given N numbers, read each one, calculate the running average and print it. For example, given the t...
Bad Neighbors 2
As some of you already know, Nocu City has a history of having bad neighbors. These bad ones, take a...
Chowdhury Saheb & the Numbers
You like short description of problems? Me too! Let's go to an easy problem. You are given an array ...
Running Average
Given $N$ numbers, read each one, calculate the running average and print it. For example, given the...
How Many Paths?
You are at the top left corner [position (1,1)] of a R×C grid. Your destination is bottom right corn...
Left Prime
Prime numbers are the ones which can only be divided by 1 and the number itself. 2, 3, 5, 7, 11, 13 ...
Missing Number
Given the sum of four numbers and three of those numbers, find the missing number. All four numbers ...
Meera and Solo Chocolates
Meera bought candies from the store. She is now going to distribute those among her N friends. She m...
Is It A Square?
Shikamaru is the most brilliant student of his class. He is very good at Mathematics. Mr. Asuma is t...
Squared
Given the length of a side of a square, calculate and print its area.
Bad Neighbors
In the strange neighborhood of Nocu, a lot of people lives pretty happily, or so they think. Like mo...
Easy Prime!
There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ...
Spot It!
Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t...
Mr. Ant and His Problem
Mr. Ant has 3 boxes and the infinite number of marbles. Now he wants to know the number of ways he c...
Christmas Tree
Professor Rio has an amazing Christmas tree. Unlike other trees, this Christmas tree has some specia...
Scholarship
Your school is going to start a new scholarship program. To apply for this scholarship you have to w...
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...
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...
Chief Thief
A group of thieves steal only money. Every morning they deposit the money to their leader. The leade...
Obligatory IDPC Problem
There are n people busy with arranging the upcoming Inter Department Programming Contest (IDPC) 2016...
Correct the Sieve
Sieve of Eratosthenes is a fast algorithm for finding prime numbers in larger ranges. According to W...
Pie Are Squared
Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi...
Third Dimension
Mr. J wants to learn about combinatorics. He started reading a book on combinatorics and came across...
Largest Prime
A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...
Toph uses cookies. By continuing you agree to our Cookie Policy.