Lazy Supermen
There are two hills in Sonargaon. The heights of them are H1 and H2 meter. The distance between the ...
Raem's Square
Raem is an eight years old boy. One day his family was visiting Dhaka Shishu Park near Shahbag. Besi...
Super Shop
A super shop sells only 26 items, labeled them from ‘A’ to ‘Z’. The shop stores the list of products...
Lets Make a Plan
It’s not easy to hang out with your friends during weekends when you have a full-time job and bills ...
Very Easy 270/273/362
Ishtiaque and the Rabbit
Mr Ishtiaque is in trouble. A few months ago, he bought 2 rabbits. He wanted to have two pet rabbits...
Angle of Polygon
Nusrat is a brilliant student. She is good at all subjects but only get confused with geometry. Toda...
Life of Phi II
You will be given two integers n and m where GCD(n,m)=1. You have to tell that how many numbers are ...
Dengue Affected Areas
Dengue, the talk of the town of Dhaka this year. So many people suffered from dengue fever and a num...
Boys in the Assembly
N boys are standing in the assembly. There is a single line only. Boys are denoted by their roll num...
Mystery of Fibonacci
Fibonacci sequence is a recursive sequence that depends on the following definition: Fib(N) = Fib(N-...
Exponential Growth
You will be given two integers X and N, you have to calculate XN modulo 1000000007.
Count the Chaos
Imagine, you have an array of integers of size N. At each index of this array is a unique integer fr...
Lucky Stone Game
Alice and Bob are playing a stone game. They consider 4 and 7 as lucky numbers and they like to make...
Super Mario Bros
Every kid loves to play Super Mario Bros. Mario moveু forward and collects coins in a stage. Stages ...
Ne-Zu-Ko Chaaaaaaaaaaaaan!
Tanjiro and his sister Nezuko live in a village that is shaped like a circle with a radius R. There'...
Bulls, Cows, and Digits
Let's play a game. This game is a few centuries old. Nonetheless, it is a good one for an interactiv...
Demonic Subset
Lets not waste your time with long tiring problem statement and just go straight to the point. You a...
Life of Phi
The Great Khami is learning Number Theory. He is very excited to know that Euler's Totient Function ...
Dr. Tanzil's Island
Dr Tanzil has a circular shaped lake that he bought long ago. One day while he was visiting there, h...
A Ridiculous Problem
Let's face it. This problem is here just to spite you off. So, I will not beat around the bush. You ...
He Who Must Not Be Late
He Who Must Not Be Named, Lord Voldemort, is chasing Harry and Hermione. They have been able to reac...
Paranoid Trading
You have been newly appointed as the accountant of Michael Corleone - the famous mafia boss. Your ta...
A Lack of Common Divisors
Given a positive integer N, determine how many of the integers between 1 and N are co-prime with N. ...
Relatively Prime
Given a positive integer N, determine how many of the integers between 1 and N are co-prime with N. ...
Mind Flayer Has Attacked Again!
Mind flayer, the shadow monster has attacked the town of Hawkins again. This time, the mind flayer h...
Toph uses cookies. By continuing you agree to our Cookie Policy.