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...
Pie Are Squared
Given the radius of a circle, calculate and print its area. The area of a circle can be computed usi...
Squared
Given the length of a side of a square, calculate and print its area.
Missing Number
Given the sum of four numbers and three of those numbers, find the missing number. All four numbers ...
Leap Years
In the Gregorian calendar, certain years have 366 days instead of 365. In such years, the month of F...
Fibonacci Numbers
Given an integer N, print the N-th Fibonacci number. A Fibonacci series is a series of numbers in wh...
The Titan
The Titan, a giant ship started its journey on the dark sea. It was going to the North America. On t...
Fair Distribution
Mr. Forhad has X children. One day, on his way home, he bought Y chocolates for his children. He doe...
Big Factorials
Given an integer N, print the trailing 4 digits of $N!$ (N factorial). $N! = N \times (N-1) \times (...
Making Friends
Byang is going to join a new school. His new class has N students. Each of the students are identifi...
Arithmetic Sequence (Easy)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
Proper Leap Years
Byang's friend was asked to author a programming problem where the challenge was to identify if the ...
Math Very Easy 1k/2k/4k
Math and Watermelons
Your friend has M watermelons. He doesn't want to share them with anyone, but let's imagine he would...
Byang's Additions
Byang is learning how to add numbers. However, he gets confused whenever there is a carry. To help B...
Running Average
Given $N$ numbers, read each one, calculate the running average and print it. For example, given the...
Mixed Fractions
Given an improper fraction (as the numerator $N$ and the denominator $D$), determine and print it in...
Thought Game
Sadia is one of the nicest persons you will ever meet. In fact, she is one of those persons who like...
Running Average Again
Given N numbers, read each one, calculate the running average and print it. For example, given the t...
Playing With Your Mind
Given a non-negative integers N. You have to find an integer P such that, the following conditions s...
Misti Chor
Bhootu likes to eat misti. As he is a mischievous kid, he has decided to steal misti from the nearby...
Expected Values From Bubble Sort
Bubble sort is a sorting algorithm that can sort an array of numbers in increasing order. In each of...
Hello Choto Bondhu!
Let's play a game. I will give you a number n. You will have to tell me n2. Okay, it may seem diffic...
Absolute Value
You will be given an integer x. The absolute value of x will be within 100. You have to add 1 to x's...
Pascal's Triangle
Given an integer N, print the sum of the Nth row of the Pascal's triangle. In mathematics, Pascal's ...
Toph uses cookies. By continuing you agree to our Cookie Policy.