Restore Missing Values
Consider an array of 'N' integers which is indexed from '1' to 'N'. Exactly 'Q' queries numbered fr...
Primary Key
"Clarity-Lon" is the new awesome e-commerce based startup that went to the top of the chart within f...
Palindrome Query I
You are given a string of length L. You have Q queries. In each query, you will be asked to either u...
Video Game Pro
Shefin is playing a video game. In this game, there will be $N$ buildings in a row. $i^{th}$ buildin...
New Year Couple
The new year 2017 is here. To celebrate the 31st night, Mr Rio has thrown a big party at his house. ...
Another String Query Problem
This time I'm going to introduce you to a new land, called String Land. In String Land there are N ...
Village Fair 2
There are N houses in a village far away from here. They are numbered from 1 to N. For this problem ...
Hide and Seek
You know how to play hide-and-seek, right? In a group of kids, one of them is selected to be the see...
Escape Plan
Hey, you are stuck on prison and you have to get out soon. This prison has one way road and you can ...
Maximum Meetings
I am the boss of my company. I have n employees. The office time of my company starts at 1. Every em...
Nearest Light
We, iuian develop a virtual vertical line with infinite length are numbered starting from zero from ...
Battle of Endor
After myriad battles and death of million rebel soldiers, it is high time to destroy the imperial ar...
C++ Vector Simulation
Array is an important data structure in computer science. It is also very important when it comes fo...
Static Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
Erik: The Candyboy - 2
Now Erik has more candies than he had previously. In fact, he has infinite number of candies, and he...
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...
So Long
As all people know ICPC can be very dull sometimes for people other than contestants. Jodu, Modu, an...
Yet Another XOR Tree Problem
You are given a tree with N nodes. A non-negative weight is assigned to each edge of the tree. Let’s...
Earthquake!
Most houses are not as safe as they could be. Earthquake engineering is an interdisciplinary branch ...
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 ...
Remember the Name...
There's a famous song written by Mike Shinoda, which has these lines: This is 10% luck, 20% skill, ...
Expandable ListView
Minas is working on his new language. He want to add a feature call expandable listview. Here he exp...
Jontrona of Liakot
Liakot, the king of Cox's Bazar, is currently in a dire situation. His own younger sister Ayesha is ...
Mr. Hikiko and a Strange Game (Hard)
Mr. Hikiko recently downloaded a strange game on his phone from a store. This game is quite interest...
Race in DomKi
There is a kingdom called DomKi. DomKi has N city and N-1 two-way road. Each city is numbered with 1...
Toph uses cookies. By continuing you agree to our Cookie Policy.