Mag the Mighty Kaidul
The winter is about to come. Mag the Mighty Kaidul is waiting for it for days. It is his favorite se...
Magician's Offer!
Rosi Vidmun is a greedy landlord who likes to grab as much land as he can. Currently he has P square...
Counting is Difficult 2
East West University Computer Programming Club (EWUCoPC) is arranging an Intra-University Programmin...
Sofdor Ali's Restaurant
One of Sofdor Ali’s greatest accomplishment was his Biriyani restaurant! Unlike the traditional rest...
Challenge From Mr. Professor
One Day Mr. Professor was taking His schedule class on Discrete Mathematics. In this lecture, He was...
Building Boundaries
Maarja wants to buy a rectangular piece of land and then construct three buildings on that land. The...
This Is Too Hard ☹
Many many years ago there was a small country. And all the people there were very weird. They liked ...
Circle of Death
Abir is a school going boy, who loves math. Also, he loves to play with stones. Recently he invented...
Subset of Sequences
You will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila...
Bi-Element Subsequence
You are participating in a game show. In the final round, the host pulls up a large sequence of posi...
GCD, Divisor, Count!
I like short statements and you should too so here's the statement without further ado You are give...
Joker's GCD Test
Joker has a sequence P of n integers. Each two elements in the sequence are pairwise distinct. He de...
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...
How Many Paths?
You are at the top left corner [position (1,1)] of a R×C grid. Your destination is bottom right corn...
Chance of Passing the Quiz
Rocky is starting his online quizzes and he has been provided with some passing criteria. The rule o...
Obligatory IDPC Problem
There are n people busy with arranging the upcoming Inter Department Programming Contest (IDPC) 2016...
Meera and Solo Chocolates
Meera bought candies from the store. She is now going to distribute those among her N friends. She m...
Secret Meeting
The world is terrified by Pandas! After a miraculous chemical explosion, they became smarter; and ev...
Yet Another Query Problem!
You are given an array $A$ of length $n$ consisting of integers between $1$ and $10^6$. You need to ...
Bad Neighbors
In the strange neighborhood of Nocu, a lot of people lives pretty happily, or so they think. Like mo...
Interplanetary Mission
The National Space Center(NSC) is planning an interplanetary mission in a new galaxy far far away fr...
Mr. Ant and His Problem
Mr. Ant has 3 boxes and the infinite number of marbles. Now he wants to know the number of ways he c...
Pudding and Coins
Pudding is playing a game that has n levels. There are a total of n(n+1)/2 coins spread out among th...
String Play
Milo has a string S of length L. Tutu picks a random prefix and Mota picks a random suffix of S. Now...
Game of Gnomes
The enemy and their massive army is approaching your fortress, and all you have to defend it is a le...
Toph uses cookies. By continuing you agree to our Cookie Policy.