Messy Table
Akib is a very good student but his reading table is very messy. One Friday afternoon, Akib is sitti...
My Small Number
You are given two integers N and M. Find another integer X divisible by M that has the same number o...
Milad's Lost Tree
Milad likes trees so much. He has a rooted tree with $n$ vertices each of which has some non-negativ...
Game of Palindromes
In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...
Penguins of Madagaskar
You all heard about the Penguins of Madagaskar. They work for the penguin kind and loves cuteness. O...
Rainy Day
You have to complete N tasks tomorrow, where each task can last for any number of minutes. Each task...
Inversions and Goodbye
It's time to say goodbye to CSEmpur, at least for today. And so you wanted to give the citizens of C...
Interesting Pile Game
Turja and Akash are playing an interesting game. Initially a pile of N stones is given to them. Each...
DP Moderate 39/46/125
A Journey Towards One
Given N. You can perform 3 types of operations: Increase N by 1. Decrease N by 1. Divide N by 2, av...
Demonic Subset
Lets not waste your time with long tiring problem statement and just go straight to the point. You a...
Sgt. Laugh
That's it. Sgt. Laugh has had enough. He is determined to end the evil military reign of General Cry...
Chocolate
There is a shop named Chocolove in the Codeland. There are many chocolates in the shop. Each chocola...
Poltu and Interesting Number
Poltu Loves interesting number. So he wants to find this type of number. The definition of an intere...
Is Bita Happy?
Bita has learned bitwise-operations recently. She is doing some experiments with these operations no...
Is It Perfect
Bob has an initial array D of length n . Alice is a good friend of Bob. So Bob challenges Alice to f...
Master Plan
Gakra Miah is a Wollywood movie lover. He watches movies almost everyday. He has watched so many mov...
Harry Potter and the Vault of Gringotts
"There was a break-in of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Second Wi...
T5 Racing
It is high time for the annual T5 racing and your team is planning to win the race. In T5 racing the...
Gaaner Koli
The protagonists of this problem are two great programmers of a certain institution Omanush and Ordi...
Alice in Candyland
Alice came up with a new game. In this game called "Candy Quest", there is a NxN size 2D grid. In ea...
Subarray Sum
You are given an array having N integers. You have to select at most K positions in the array and re...
OCD Returns!
This problem author has OCD (obsessive–compulsive disorder). One day his teacher gave him an array o...
The Perfect Collection
Given an array A of N integers, if we choose any K of these integers and calculate their bitwise XOR...
LIDS
We all know about LIS (Longest Increasing Sub sequence). The task to find the length of the longest ...
Maximum Sum
Little Jimmy loves to play with numbers. One day he was playing with a number sequence. In his game,...
Toph uses cookies. By continuing you agree to our Cookie Policy.