Niko Goes Farming
Niko has completed his degree in CSE from North South University. Now he has been tenaciously lookin...
For Loop FTW
You are given an integer N which can be represnted as the product of two positive integers. $ N = a_...
Relatively Prime
Given a positive integer N, determine how many of the integers between 1 and N are co-prime with N. ...
The Titan
The Titan, a giant ship started its journey on the dark sea. It was going to the North America. On t...
Absolute U
Do you know about absolute value function? In mathematics, the absolute value of a real number u, de...
SUM Equals LCM
Given N, print a sequence of N positive integers A1​,A2​,…,AN​ that satisfy the following conditions...
Window Seats on a Bus
Karim is traveling by bus. He has the window seat. However, he has to share the window with the pass...
Nusrat's Treat
We all know how much Nusrat loves chocolate! She gets a lot of chocolate from her friends and family...
Magic Square
A little boy Towhid is good at mathematics. He solves a lot of mathematical equation regularly. He i...
Calculate the Sum If You Can
This problem deals with the following expression: 1−2+1−2+1−2+1−2+1−2+1−2+1−2+... Given n, you have ...
Area
In this problem, you will be given a square which has a length of n. Co-ordinates of the square are ...
Kinderbijslag
Kinderbijslag (children's allowance) is a social security payment which is distributed to the parent...
Math Very Easy 318/338/593
Find the primes?
For a positive integer n, let’s define a function f: f(n) = sum of positive integers less than n whi...
Love Letters!
Lately Fahim is getting a lot of love letters. A LOT of love letters. Since he is confused about whi...
How Many Ways?
Regular problem solvers starts their journey by solving ad hoc and number theory. After getting the ...
Blanket
You have a suitcase with length X, width Y and height Z. You also have a very comfortable blanket. I...
Sofdor Ali and Histogram
The Great Sofdor Ali is now interested in competitive programming. Seeing this, his friend and also ...
Weird Subtraction
You are given two integers n and m. You have to subtract m from n until n becomes less than or equal...
Equation Equals Hazards
You are given the equation, GCD(A,M)=1. You have to determine whether there exists at least one inte...
String in a Grid 2
Prof. Bari loves to play with string. He is also very skilled in drawing. One day he was drawing a g...
Birthday Surprise
Adnan bhai, Priyom dada and Shuvo bhai are the members of MU_Kheloars. They recently got graduated a...
Power and Mod
Exponentiation is a mathematical operation, written as b n , involving two numbers, the base b and t...
Once Upon a Time in Dhaka
Dhaka is one of the mega cities of Bangladesh. At different times, Dhaka was entitled differently by...
Roll the Dice
You have got a 6 sided dice. In a single roll, it may show any integers from 1 to 6. You are going t...
Magic Number
Jack loves to play with numbers. One day, while he was playing with numbers he found something inter...
Toph uses cookies. By continuing you agree to our Cookie Policy.