Highschool Mathematics

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

Squared

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

Mixed Fractions

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

Pie Are Squared

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

Poltu and Odd Number

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

Leap Years

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

Power and Mod

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

Running Average Again

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

Fair Distribution

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

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

Math and Watermelons

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

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

Largest Prime

A positive integer number n is called a prime number, if it is only divisible by 1 and n itself, whe...

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

Boys in the Assembly

N boys are standing in the assembly. There is a single line only. Boys are denoted by their roll nu...

Arshiya's First Code

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

Clock Math

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

Magic Square

A little boy Towhid is good at mathematics. He solves a lot of mathematical equation regularly. He ...

How Many Ways?

Regular problem solvers starts their journey by solving ad hoc and number theory. After getting the ...

Nusrat's Treat

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

Most Difficult Problem Ever

You are given a function like below: long long F(int A, int B, int C, long long x) { long long...

Count the Odds

Sometimes, contestants tend to look for patterns in problem descriptions. They try to figure out the...

Boltu vs Balti

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

A Girl's Story

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

Spot It!

Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t...

ML Vs AI

Nowadays, CS students try to learn Machine Learning and Artificial Intelligence even before learning...

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

Playing With Your Mind

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