Hello Choto Bondhu!

Hello Choto Bondhu, Let’s play a game. I will give you a number n. You will have to tell me n2. Oka...

Geometry Forever

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

Counting Is Difficult

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

Pie Are Squared

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

Clock Math

Given a time (hours as H and minutes as M), determine the smaller angle between the two hands of a c...

Leap Years

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

Meeting Place

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

Squared

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

Running Average

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

N'th Prime

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

Mixed Fractions

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

Scholarship

Your school is going to start a new scholarship program. To apply for this scholarship you have to w...

Circle of Death

Abir is a school going boy, who loves math. Also, he loves to play with stones. Recently he invented...

Missing Number

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

Running Average Again

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

Easy Prime!

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

Thought Game

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

Making Friends

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

Fibonacci Numbers

Given an integer N, print the Nth Fibonacci number. A Fibonacci series is a series of numbers in wh...

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

Correct the Sieve

Sieve of Eratosthenes is a fast algorithm for finding prime numbers in larger ranges. According to W...

Pascal's Triangle

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

Vox Populi

Asfia’s daughter just turned 5. She is looking for a school to get her admitted. Like every other pa...

Math and Watermelons

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

Nusrat's Treat

We all know how much Nusrat loves chocolate! She gets a lot of chocolate from her friends and family...

Elementary Arithmetic

When Shakib was little, his mother used to help him with his studies. Usually, around 7 PM in the ev...

Crypto-Number

Walt and Gus have a great rivalry. Recently Gus has developed a cryptographic system. Walt is trying...

Divisors

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

Rivalry Friends

Ryo and his girlfriend love to think about challenges. One day his girlfriend gave him a challenge t...

Zacob The Batsman

It’s known that Zacob is a reliable batsman of LU CSE Cricket Team. Also as long as he is on the cre...

Magic Number

Jack loves to play with numbers. One day, while he was playing with numbers he found something inter...