Highschool Mathematics

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

Copycat

Read an integer variable and print it.

Watercolor

Bob is the owner of a shop named “Color Maker”. He has 256 types of watercolor in his shop. The type...

Maximum

Given N numbers, find the one that is of the highest value and print it.

Easy Prime!

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

Be Like Hasib

Hasib, the famous programmer, uses a little game when he teaches Binary Search to his students. He r...

Subarray Sum

You are given an array having N integers. You have to select at most K positions in the array and re...

Add Them Up

Read two integer variables, calculate their sum, and print it.

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

Huge Number

If N is an integer greater than 0, n factorial (n!) is the product: n × (n-1) × (n-2) × (n-3) × … × ...

Arya’s Counting

Little Arya has learnt to count the highest and the lowest number recently. She can easily find out ...

Pie Are Squared

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

Missing Number

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

Formatted Numbers

Read an integer variable and print it in which the digits are separated into groups of three by comm...

The Bachelor's Problem

Jony lives in a “Bachelor’s house” with some of his friends. You may assume it as a hostel but it do...

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

Another Query on String

You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o...

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

Sofdor Ali's Magical Blackboard!

Sofdor Ali found interest in mathematics very early in his life. And now, he wants to spread this in...

BPL Mubarak!

Bangladesh Premier League is in Sylhet for the first time. Today’s match is Sylhet Sixers vs the Dha...

How Cow!

There is a cow in a village. She eats as much grass as she wants. Fortunately there is a large field...

Fair Distribution

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

Treat Hunter

Who doesn’t love food? Especially if someone is giving a treat! Thats right! Redoan is a treat hunte...

Running Average

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

Is Palindrome

Given a word, print “Yes” if it is a palindrome, otherwise “No”. A palindrome is a word which reads...

National Flag

Today is the 16th December, a red letter day of our national history. The whole country equipped wit...

Bucket

You have a bucket of numbers which is initially empty. You have to perform Q operations of 4 differe...

Triangle

You went to an exciting adventure in a deep jungle but sadly a giant captured you. The giant said th...

Crayons

Five friends A, B, C, D and E has come to a shop to buy crayons for their art project. They need cra...