M-Sequence
A sequence is called M-sequence if after removing zero or more elements from the sequence the GCD of...
Help Lazy Tareq
There is a boy named Tareq Abrar who is very lazy. He likes sleeping. He also likes eating. His moth...
The Easiest Problem
Tareq Abrar is a lazy programmer. He has a friend named Aminvai, who is famous for his amazing skill...
Demonic Subset
Lets not waste your time with long tiring problem statement and just go straight to the point. You a...
Mr Makor And His Friends
Mr Makor has a set S of n integers. He calls a sequence of length k special if every element of the ...
Admission Gift
During admission exams in the city of RR (Royal Royal city), the students of RR University of Engine...
Oh Functions
Let’s define functions f and g as: f(x) = 2 * ( f(x-1) + g(x-1) - 1 ) * ( f(x-1) + g(x-1) - 3 ) + 12...
Scary Big Chessboard
Our friend Alice got stuck in a big chessboard. The chessboard has N rows and N columns. Some cells ...
Crypto-Number
Walt and Gus have a great rivalry. Recently Gus has developed a cryptographic system. Walt is trying...
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...
Tree Business
To become economically stable, Saturn has come up with a new kind of business, tree business. At fir...
How Many Paths?
You are at the top left corner [position (1,1)] of a R×C grid. Your destination is bottom right corn...
Expected Result
A witch has imprisoned Bob in the 1st room of the Central Witchland Hotel. The hotel is weird. All t...
Distribution of Relief
"Please follow all instructions provided by your local health authorities." Due to Coronovirus epide...
Find the primes?
For a positive integer n, let’s define a function f: f(n) = sum of positive integers less than n whi...
Obligatory IDPC Problem
There are n people busy with arranging the upcoming Inter Department Programming Contest (IDPC) 2016...
Do you have Arithmophobia ?
Don’t worry! If you are a programmer, you might not have arithmophobia!! But Era has a weird phobia ...
Chance of Passing the Quiz
Rocky is starting his online quizzes and he has been provided with some passing criteria. The rule o...
Day-Month-Year
Meena is a talented girl in her class. She likes to brainstorm in her leisure times. One day, she wa...
Meena O Dosto Sele
Dosto sele Dipu and his friends used to disturb Rita Apu everyday on her way to school singing , " র...
An Act of Uniformly Random Kindness
After selling all the bitcoins that you bought back in 2010, you now find yourself with a huge amoun...
Mr Max Count Sum
Mr Max , Mr Sum and Mr Count are three neighbours. They have a common enemy, an old man living in th...
Sheldon's Obtuse Triangle
We all know Sheldon Cooper from The Big Bang Theory. Recently he got his Nobel Prize. He likes polyg...
Zootopia
Judy Hopps , a rookie officer joined Zootopia Police Department. She was fond of working sincerely f...
Toph uses cookies. By continuing you agree to our Cookie Policy.