Divisors
Read an integer variable and print all of its divisors (including 1 and the number itself).
Clock Math
Given a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c...
N-th Prime
In this problem, you will have to print the n-th prime number. The first few prime numbers are given...
Byang's Additions
Byang is learning how to add numbers. However, he gets confused whenever there is a carry. To help B...
Fibonacci Numbers
Given an integer N, print the N-th Fibonacci number. A Fibonacci series is a series of numbers in wh...
Math and Watermelons
Your friend has M watermelons. He doesn't want to share them with anyone, but let's imagine he would...
Fibonacci Between
Given two numbers L and R, you must print all the Fibonacci numbers between L and R (inclusive). Alt...
Ashik's Trouble
Ashik is generally a good boy. But recently he has had some trouble with one of his classmates. His ...
Squared
Given the length of a side of a square, calculate and print its area.
Geometry Forever
Fear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shuk...
Pie Are Squared
Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi...
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...
Leap Years
In the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F...
Big Factorials
Given an integer N, print the trailing 4 digits of N! (N factorial). N!=N×(N−1)×(N−2)×...×1 Here are...
Missing Number
Given the sum of four numbers and three of those numbers, find the missing number. All four numbers ...
Fair Distribution
Mr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe...
Switches
Technology is going ahead very fast. How can we know what will we get in future? One day you met a g...
Making Friends
Byang is going to join a new school. His new class has N students. Each of the students are identifi...
Correct the Sieve
Sieve of Eratosthenes is a fast algorithm for finding prime numbers in larger ranges. According to W...
Largest Prime
A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...
United State of Koanhali
Koanhali is a strange country. The govt. of Koanhali maintain the marriages of this country. If you ...
The Titan
The Titan, a giant ship started its journey on the dark sea. It was going to the North America. On t...
Elementary Arithmetic
When Shakib was little, his mother used to help him with his studies. Usually, around 7 PM in the ev...
Count the Odds
Sometimes, contestants tend to look for patterns in problem descriptions. They try to figure out the...
Boltu vs Balti
Boltu and Balti are two friends. Boltu is a great programmer whereas Balti is a newbie programmer. B...
Toph uses cookies. By continuing you agree to our Cookie Policy.