String Play Milo has a string S of length L. Tutu picks a random prefix and Mota picks a random suffix of S. Now... |
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... |
Game, Game Everywhere Binary and Ternary are playing a game. In this game, they initially choose an array with N elements.... |
Finding Lines Annabel and Richard like to invent new games and play against each other. One day Annabel has a new ... |
Interplanetary Mission The National Space Center(NSC) is planning an interplanetary mission in a new galaxy far far away fr... |
Spot It! Have you played the game Spot it!? Though there are many ways to play this game, the basic rule is t... |
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... |
Random Graphs This problem is very easy. There's a graph of $N$ nodes. Each edge $u-v$ ($u >= v ; u = v$ is possib... |
Secret Meeting The world is terrified by Pandas! After a miraculous chemical explosion, they became smarter; and ev... |
Solve This Giveaway Problem First This problem is straightforward and easy. You will be given two integers N, P and a list L of positi... |
Beauty of AP Solving problems is fun in competitive programming, right? So let’s solve a fun task today too :P. 1... |
Composite Facts Let's define two functions F and S: F(n) = 1 + n! S(n,m) = Sum of first m non-prime integers which ... |
Meera and Solo Chocolates Meera bought candies from the store. She is now going to distribute those among her N friends. She m... |
Zootopia Judy Hopps , a rookie officer joined Zootopia Police Department. She was fond of working sincerely f... |
Diagonal Traversal You are given an n×m grid. You can go from point (x1,y1) to any point (x2,y2) of grid if and onl... |
Wizard Duel Wizard Duel is approaching soon in Hogwarts and the students of the Dueling Club are absolutely thri... |
Sheldon's Obtuse Triangle We all know Sheldon Cooper from The Big Bang Theory. Recently he got his Nobel Prize. He likes polyg... |
Do you have Arithmophobia ? Don’t worry! If you are a programmer, you might not have arithmophobia!! But Era has a weird phobia ... |
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... |
Meena O Dosto Sele Dosto sele Dipu and his friends used to disturb Rita Apu everyday on her way to school singing , " র... |
Obligatory IDPC Problem There are n people busy with arranging the upcoming Inter Department Programming Contest (IDPC) 2016... |
Day-Month-Year Meena is a talented girl in her class. She likes to brainstorm in her leisure times. One day, she wa... |
Chance of Passing the Quiz Rocky is starting his online quizzes and he has been provided with some passing criteria. The rule o... |