N-th Prime
In this problem, you will have to print the n-th prime number. The first few prime numbers are given...
I Did Not Do the Assignment
Professor Petr is very angry over some of his students now-a-days for not doing assignment. He wants...
Prime Factors
Given an integer N, can you determine its prime factors?
Modulo
Let's get straight into the problem. In ths problem, here will be multiple test cases. In each test ...
Relatively Prime
Given a positive integer N, determine how many of the integers between 1 and N are co-prime with N. ...
Do you have Arithmophobia ?
Don’t worry! If you are a programmer, you might not have arithmophobia!! But Era has a weird phobia ...
Rivalry Friends
Ryo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t...
Shine on You Crazy Diamond
This problem is authored by one of our late friends, Sifat, who unexpectedly left us last year. He w...
Find the primes?
For a positive integer n, let’s define a function f: f(n) = sum of positive integers less than n whi...
Ishtiaque and the Rabbit
Mr Ishtiaque is in trouble. A few months ago, he bought 2 rabbits. He wanted to have two pet rabbits...
Is It A Square?
Shikamaru is the most brilliant student of his class. He is very good at Mathematics. Mr. Asuma is t...
Easy Prime!
There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ...
Meera and Solo Chocolates
Meera bought candies from the store. She is now going to distribute those among her N friends. She m...
Sofdor Ali and the Puzzle of Weights
Sofdor Ali is one of the most famous scientists of Bangladesh. He is also well known for his puzzle ...
Left Prime
Prime numbers are the ones which can only be divided by 1 and the number itself. 2, 3, 5, 7, 11, 13 ...
Co-Prime Enemy Pair
Two integers A and B are known as co-prime or relatively prime if their greatest common divisor GCD ...
Chowdhury Saheb & the Numbers
You like short description of problems? Me too! Let's go to an easy problem. You are given an array ...
Secret Meeting
The world is terrified by Pandas! After a miraculous chemical explosion, they became smarter; and ev...
Love Letters!
Lately Fahim is getting a lot of love letters. A LOT of love letters. Since he is confused about whi...
Zacob the Batsman
It's known that Zacob is a reliable batsman of LU CSE Cricket Team. Also as long as he is on the cre...
Bi-Element Subsequence
You are participating in a game show. In the final round, the host pulls up a large sequence of posi...
Magician's Offer!
Rosi Vidmun is a greedy landlord who likes to grab as much land as he can. Currently he has P square...
Oh Functions
Let’s define functions f and g as: f(x) = 2 * ( f(x-1) + g(x-1) - 1 ) * ( f(x-1) + g(x-1) - 3 ) + 12...
Laali Vs Bessie
One day Raju discovered USACO and from that day he would spend all his time solving problems. Laali ...
Meena O Dosto Sele
Dosto sele Dipu and his friends used to disturb Rita Apu everyday on her way to school singing , " র...
Toph uses cookies. By continuing you agree to our Cookie Policy.