Binary Pigeons
There are $N$ pigeons standing one after another in a straight line. There are two kinds of pigeons:...
Milad's Lost Tree
Milad likes trees so much. He has a rooted tree with $n$ vertices each of which has some non-negativ...
Darth Vader and 3PO on a Tree!
Did you watch Star Wars yet? No? You should in your free time. Now back to Darth Vader and 3PO. Dart...
Hardest Problem Ever
Prof.Dr.DP is very famous professor. He is expert (actually legendary grandmaster) in Dynamic Progra...
The Perfect Collection
Given an array A of N integers, if we choose any K of these integers and calculate their bitwise XOR...
Naming Convention
Tony works in a multinational technology company named Voogle LLC. The employees of Voogle follow ce...
Déjà Vu
Thor, the Thunder God is fighting a horde of monsters in a cave. The cave is so narrow that it can b...
Mina and Raju
Everyone know about Mina & Raju. They are siblings as well as good friend. The friend-circle of Mina...
Happy Sub-Sequence
Recently Alex has participated in a programming contest. He became 1st runner up. He couldn't solve ...
OCD Returns!
This problem author has OCD (obsessive–compulsive disorder). One day his teacher gave him an array o...
Very Dirty String
Strings are difficult, most of the contest programmers say this and try to avoid string algorithms. ...
Quarantiko
"If you feel unwell, stay home." Riaz has created a special encryption algorithm named Quarantiko to...
Erik: The Candyboy - 1
Erik has N candies, and he wants to distribute those candies among his friends. But he has more frie...
Switchblade of Thanos
We all know that Thanos “The Mad Titan“ had two adopted daughters, Gamora and Nebula. But did you kn...
Move It!
Few of my friends are working on a game called “Move It!”. It's a tile-based game played on an $n\ti...
Road Minister Techboy
Techboy is appointed as the minister of roads and highway in his country Better-Not-Name-It. Now he ...
Paying Bills
Mued is finally home for summer vacation after surviving yet another semester of the mighty CS Under...
Sofia
Sofia has just arrived in Bangladesh. Rather asking it some dumb questions, lets give it a maze prob...
Snake's Neck
Remember Violet and Dash from the movie "The Incredibles"? The two siblings recently installed the c...
Cutting Bamboos
There are $n$ bamboos in a row. Khan the bamboo cutter is going to cut them all one by one. He can d...
Remember-Remainder
Zarin is a sadist. She loves to give problems to her close people. Today she gives you an array cons...
Ekupai
Hacker robot Ekupai is trying to hack a supercomputer. He needs a cheat code X to hack this computer...
Game of Palindromes
In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...
Dominoes Forever
Once when I was little, my father took me to a tobacco shop! It is surprising, but true. He asked th...
Messy Table
Akib is a very good student but his reading table is very messy. One Friday afternoon, Akib is sitti...
Toph uses cookies. By continuing you agree to our Cookie Policy.