# Math Problems

#### Leap Years

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

#### Highschool Mathematics

We do Algebra, Geometry, Matrix, Trigonometry, Calculus, Vector, Permutation - Combination, Probabil...

There is an M meter long road with the leftmost point of the road being the 0 meter point and the ri...

#### Divisors

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

#### Boltu vs Balti

Boltu and Balti are two friends. Boltu is a great programmer whereas Balti is a newbie programmer. B...

#### Squared

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

#### 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 us...

#### An Arithmetic Problem

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

#### Mixed Fractions

Given an improper fraction (as the numerator N and the denominator D), determine and print it in mix...

#### Fair Distribution

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

#### K-Th Root

You will be given Q queries. In each query, you will be given two positive integers A and B. You hav...

#### Raem's Square

Raem is an eight years old boy. One day his family was visiting Dhaka Shishu Park near Shahbag. Besi...

#### Counting Is Difficult

East West University Computer Programming Club is organizing a programming contest today. One of you...

#### 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...

#### Poltu and Odd Number

Poltu is a student of CSE department of BSMRSTU. Today is his first C programming class. Poltu learn...

#### Arshiya's First Code

Arshiya is just three and she already started programming. She has learned how to write loops. Recen...

#### Geometry Forever

Fear no more, this is a problem of geometry! When Moyna was little, he had a math teacher named Shu...

#### Math and Watermelons

Your friend has M watermelons. He doesn’t want to share them with anyone, but let’s imagine he would...

#### Meeting Place

There is an N*N grid where (r,c) denotes a cell number where r means row number, c means column numb...

#### Easy Summation

Little Arya is growing up fast and now she can count the numbers. The problem with her counting is t...

#### Arithmetic Sequence (Hard)

Arithmetic Sequence is a sequence of numbers where the difference between two consecutive numbers ar...

#### N'th Prime

In this problem, you will have to print the nth prime number. The first few prime numbers are given ...

#### Running Average

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

#### Proper Leap Years

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

#### Power and Mod

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

#### A Girl's Story

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

#### Making Friends

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

#### Easy Prime!

There are N numbers in an array. You will have Q queries. In each query, you can make 2 operations. ...

#### Running Average Again

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

#### I Love 0

Since childhood Abir loved to play with numbers, one day he was counting numbers from 1 to 100 and h...

#### Interplanetary Mission

The National Space Center(NSC) is planning an interplanetary mission in a new galaxy far far away fr...