Running Average
Given $N$ numbers, read each one, calculate the running average and print it. For example, given the...
Running Average Again
Given N numbers, read each one, calculate the running average and print it. For example, given the t...
Kinderbijslag
Kinderbijslag (children's allowance) is a social security payment which is distributed to the parent...
Math Very Easy 322/343/599
Magic Square
A little boy Towhid is good at mathematics. He solves a lot of mathematical equation regularly. He i...
Math and Watermelons
Your friend has M watermelons. He doesn't want to share them with anyone, but let's imagine he would...
Clock Math
Given a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c...
Khataraina is Back!
Last year we helped Adnan with his girlfriend Khataraina’s issue. This year she caused another troub...
Divisors
Read an integer variable and print all of its divisors (including 1 and the number itself).
Making Friends
Byang is going to join a new school. His new class has N students. Each of the students are identifi...
Sofdor Ali and Histogram
The Great Sofdor Ali is now interested in competitive programming. Seeing this, his friend and also ...
Playing With Your Mind
Given a non-negative integers N. You have to find an integer P such that, the following conditions s...
Easy Summation
Little Arya is growing up fast and now she can count the numbers. The problem with her counting is t...
Red and Green
Suppose, there is an array of N integers. Each index of the array is either red or green. The first ...
Mixed Fractions
Given an improper fraction (as the numerator $N$ and the denominator $D$), determine and print it in...
Fibonacci Numbers
Given an integer N, print the N-th Fibonacci number. A Fibonacci series is a series of numbers in wh...
Boltu vs Balti
Boltu and Balti are two friends. Boltu is a great programmer whereas Balti is a newbie programmer. B...
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...
Arithmetic Sequence (Easy)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
How Many Ways?
Regular problem solvers starts their journey by solving ad hoc and number theory. After getting the ...
Pascal's Triangle
Given an integer N, print the sum of the Nth row of the Pascal's triangle. In mathematics, Pascal's ...
A Girl's Story
Meena (Bengali: মীনা) is a fictional character who stars in the South Asian children's television sh...
Recursive World!
See following the two recursive functions: C(0) = 0 C(1) = 5 C(K) = C(K-1) + 4 F(0) = 1 F(1) = 2 F(N...
Arithmetic Sequence (Hard)
Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...
Math Very Easy 274/292/483
Circle and Square
Meena and Raju are learning about different shapes. Meena's favourite shape is Circle while Raju lik...
Toph uses cookies. By continuing you agree to our Cookie Policy.