Array Simulation
You are given an array of N elements. Initially all the indices have a value of 0. You have to do fo...
Kingdom of Code
Kingdom CODE is the most peaceful place in the universe. King NOVOSH and Queen ALMIDA is ruling this...
Obligatory IDPC Problem
There are n people busy with arranging the upcoming Inter Department Programming Contest (IDPC) 2016...
Painting Tiles
Alice and Bob are two best friends. They have a board of N tiles, which they need to paint. Initiall...
Game Moderate 70/85/199
Grasshopper and The Ant
In a field one summer's day a grasshopper is hopping about and is coding to its heart's content for ...
Power and Mod
Exponentiation is a mathematical operation, written as b n , involving two numbers, the base b and t...
Smallest Subarray
You are given an array A of N integers A1, A2, A3, ..., AN . If we select two indices (1 ≤ i ≤ j ≤ N...
Third Dimension
Mr. J wants to learn about combinatorics. He started reading a book on combinatorics and came across...
Recursive Function
A common example of recursion goes something like this: long long recur(int x){ if (x==0){ return X0...
The Packaging Box
VHL is an international mail service company. Customers can send various packages to different place...
Magician's Offer!
Rosi Vidmun is a greedy landlord who likes to grab as much land as he can. Currently he has P square...
Be Like Hasib
Hasib, the famous programmer, uses a little game when he teaches Binary Search to his students. He r...
Data Structure
The operations that are performed in a data structure can be categorized into two types: query and u...
Are You Coding Me?
In the year 1992 AD, little Pranoti started to learn how to write. She already figured out that her ...
Sofdor Ali and Radioactivity
Sofdor Ali is the craziest and clumsiest scientist in Bangladesh. He tries to maintain the safety me...
Sofdor Ali Is in Love
Against all the odds, Sofdor Ali has fallen in love. He wishes to gift the girl the sweetest of subs...
Sofdor Ali's Black and White Tree
Sofdor Ali loves Computer Science. He prefers hexadecimal number system to decimals, just because it...
Sofdar Ali's Next Day
Sofdor Ali goes to Karwan Bazar every Thursday to eat Jilapi! But he often forgets what day is Thurs...
Sofdor Ali and Histogram
The Great Sofdor Ali is now interested in competitive programming. Seeing this, his friend and also ...
Sofdor Ali and Bracket Sequence
Sofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...
Sofdor Ali's Restaurant
One of Sofdor Ali’s greatest accomplishment was his Biriyani restaurant! Unlike the traditional rest...
Sofdor Ali and the Puzzle of Weights
Sofdor Ali is one of the most famous scientists of Bangladesh. He is also well known for his puzzle ...
Sofdor Ali's Magical Blackboard!
Sofdor Ali found interest in mathematics very early in his life. And now, he wants to spread this in...
Byang and The Grid Game
Byang has invented a game he wants to play with his soulmate Byangette during their spare time. The ...
Byang's Day Out!
Byang and his little brother Kuno loves Cricket. But they never went to the stadium to watch a match...
Toph uses cookies. By continuing you agree to our Cookie Policy.