GCD Plus LCMIn this problem you will be given two integers a, b. You have to answer if GCD(a, b) + LCM(a, b) = a...

Challenge From Mr. ProfessorOne Day Mr. Professor was taking His schedule class on Discrete Mathematics. In this lecture, He was...

Missing NumberGiven the sum of four numbers and three of those numbers, find the missing number. All four numbers ...

Tricky RacerTalent Bob is a galaxy wide known legend and a racer (in game :P). He always wins races by his trick...

Pie Are SquaredGiven the radius of a circle, calculate and print its area. The area of a circle can be computed usi...

SquaredGiven the length of a side of a square, calculate and print its area.

Nth PrimeIn this problem, you will have to print the nth prime number. The first few prime numbers are given...

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...

Leap YearsIn the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F...

Running AverageGiven N numbers, read each one, calculate the running average and print it. For example, given the t...

Trust Me , You Can Solve It ;)Nafis Shahriar loves to do codeforces programming contests. He is the first candidate master in code...

DivisorsRead an integer variable and print all of its divisors (including 1 and the number itself).

Mixed FractionsGiven an improper fraction (as the numerator N and the denominator D), determine and print it in mix...

Fibonacci NumbersGiven an integer N, print the Nth Fibonacci number. A Fibonacci series is a series of numbers in wh...

Count the OddsSometimes, contestants tend to look for patterns in problem descriptions. They try to figure out the...

Math and WatermelonsYour friend has M watermelons. He doesn’t want to share them with anyone, but let’s imagine he would...

Making FriendsByang is going to join a new school. His new class has N students. Each of the students are identifi...

United State of KoanhaliKoanhali is a strange country. The govt. of Koanhali maintain the marriages of this country. If you ...

Largest PrimeA positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...

Thought GameSadia is one of the nicest persons you will ever meet. In fact, she is one of those persons who like...
