Video Game
Shefin is playing a game. In this game there are N buildings numbered from 1 to N. Each building has...
Problem Setter Crisis
Competitive Programming is very popular in Leading University. There are many great achievements of ...
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...
Hardest Problem Ever
Prof.Dr.DP is very famous professor. He is expert (actually legendary grandmaster) in Dynamic Progra...
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...
Assigning Workstations
Penelope is part of the admin team of the newly built supercomputer. Her job is to assign work-stati...
Game of Palindromes
In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...
Fantastic Food
As we all know that Alice and Bob just landed in Fantastic World and are going to stay for the next ...
Shrink the Array
You have an array of size N which contains positive integers. You can apply the following operation ...
Make Strings Great Again!
Do you know what is a sub-sequence? A sub-sequence is a sequence that can be derived from another se...
Anina's Christmas Tree
This Christmas Anina and her friends have decided to make some Christmas trees to decorate her town....
Remember-Remainder
Zarin is a sadist. She loves to give problems to her close people. Today she gives you an array cons...
Police Stations
Recently the government of country S is going to construct some police stations(possibly zero) in so...
Find the Good Sequence
Let's say two numbers are called "good" if their difference is at least 2. Similarly, a sequence is ...
Rainy Day
You have to complete N tasks tomorrow, where each task can last for any number of minutes. Each task...
Disturbing Students
N students were gathered in front of CSEmpur gate. They wanted to take a tour of the famous CSEmpur ...
Find NSUPS
Given a string s, find the number of subsequence in s which forms the word "NSUPS". A subsequence is...
Another Update-Query Problem
You will be given an array A of length N and you will have to perform Q operations on that array. Th...
I Am Good 2.0
I am trying to become a good guy, giving contestants as little pain as possible. So, this problem is...
Chocolate
There is a shop named Chocolove in the Codeland. There are many chocolates in the shop. Each chocola...
Complex Tashreef
Tashreef finally received the Zuinness Journal of Galactic records recognition for being the most co...
Subarray Sum
You are given an array having N integers. You have to select at most K positions in the array and re...
Polygon Construction (Hard)
Meera in going to picnic with her friends. They are going to have lots of fun. They will be doing va...
XOR Is Fun
Efa hates numbers. But she loves the XOR operation. This time, you have to solve another problem for...
The Game of Rocks
Alice and Bob have come up with a new game. Bob gives Alice a NxM grid that contains N rows and M co...
Toph uses cookies. By continuing you agree to our Cookie Policy.