Pie Are Squared

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

Clock Math

Given a time (hours as HHH and minutes as MMM), determine the smaller angle between the two hands of...

Divisors

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

Fibonacci Numbers

Given an integer NNN, print the NNN-th Fibonacci number. A Fibonacci series is a series of numbers i...

Life of Phi II

You will be given two integers n and m where GCD(n, m) = 1. You have to tell that how many numbers a...

Thought Game

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

Area

In this problem, you will be given a square which has a length of n. Co-ordinates of the square are ...

Making Friends

Byang is going to join a new school. His new class has NNN students. Each of the students are identi...

Proper Leap Years

Byang's friend was asked to author a programming problem where the challenge was to identify if the ...

Missing Number

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

Math and Watermelons

Your friend has MMM watermelons. He doesn't want to share them with anyone, but let's imagine he wou...

Mixed Fractions

Given an improper fraction (as the numerator NNN and the denominator DDD), determine and print it in...

Leap Years

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

Byang's Additions

Byang is learning how to add numbers. However, he gets confused whenever there is a carry. To help B...

Fair Distribution

Mr. Forhad has XXX children. One day, on his way home, he bought YYY chocolates for his children. He...

Squared

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

Running Average

Given NNN numbers, read each one, calculate the running average and print it. For example, given the...

A Girl's Story

Meena (Bengali: মীনা) is a fictional character who stars in the South Asian children's television sh...

Running Average Again

Given NNN numbers, read each one, calculate the running average and print it. For example, given the...

Pascal's Triangle

Given an integer N, print the sum of the Nth row of the Pascal's triangle. In mathematics, Pascal's ...

An Arithmetic Problem

A sequence is an arithmetic sequence if every two successive number has same difference. Suppose thi...

Sofdor Ali and Histogram

The Great Sofdor Ali is now interested in competitive programming. Seeing this, his friend and also ...

Recursive Function

A common example of recursion goes something like this: long long recur(int x){ if (x==0){ return X0...

Power and Mod

Exponentiation is a mathematical operation, written as b n , involving two numbers, the base b and t...

Playing With Your Mind

Given a non-negative integers N. You have to find an integer P such that, the following conditions s...

Toph uses cookies. By continuing you agree to our Cookie Policy.