Leap Years

In the Gregorian calendar, certain years have 366 days instead o...

Elementary Arithmetic

When Shakib was little, his mother used to help him with his stu...

N'th Prime

In this problem, you will have to print the nth prime number. Th...

Pie Are Squared

Given the radius of a circle, calculate and print its area. The...

Fair Distribution

Mr. Forhad has X children. One day, on his way home, he bought Y...

Correct the Sieve

Sieve of Eratosthenes is a fast algorithm for finding prime numb...

Squared

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

Exponential Growth

You will be given two integers X and N, you have to calculate XN...

Running Average

Given N numbers, read each one, calculate the running average an...

Proper Leap Years

Byang’s friend was asked to author a programming problem where t...

Mixed Fractions

Given an improper fraction (as the numerator N and the denominat...

Math and Watermelons

Your friend has M watermelons. He doesn’t want to share them wit...

Magic Number

Jack loves to play with numbers. One day, while he was playing w...

Running Average Again

Given N numbers, read each one, calculate the running average an...

Divisors

Read an integer variable and print all of its divisors (includin...

Genius Needs Help

You all know Emrul bhai, right? He is a genius guy. He knows how...

Ishtiaque and the Rabbit

Mr Ishtiaque is in trouble. A few months ago, he bought 2 rabbit...

I Love 0

Since childhood Abir loved to play with numbers, one day he was ...

Making Friends

Byang is going to join a new school. His new class has N student...

Dilu's Library

Dilu is a young boy who loves mathematics. He recently learned h...

Easy Prime!

There are N numbers in an array. You will have Q queries. In eac...

Raem's Square

Raem is an eight years old boy. One day his family was visiting ...

Power and Mod

Exponentiation is a mathematical operation, written as b n , inv...

Challenging Lover

Greetings to all of you. You must have heard about our star prog...

Boys in the Assembly

N boys are standing in the assembly. There is a single line only...

The Game Is Back On

Moriarty is bored again. When he gets bored, the only thing he w...

Nusrat's Treat

We all know how much Nusrat loves chocolate! She gets a lot of c...

Largest Prime

A positive integer number n is called a prime number, if it is o...

Counting Murgis

Ever since that wicked thief took away some of her murgis (hens,...

Game of Palindromes

In a popular computer game, Game of Palindromes also known as GO...

Life of Phi

The Great Khami is learning Number Theory. He is very excited to...

Boltu vs Balti

Boltu and Balti are two friends. Boltu is a great programmer whe...

Related Categories