Hablu's Team
This year Hablu wants to participate in ICPC. He studies in “Habagoba University” along with $n$ oth...
Static Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
Final Days of Goldfinger
We see agent Bond once again being called in time of a great need. The vile criminal Auric Goldfinge...
Kingdom of Equality
There is a kingdom called DomKi. There are N cities and N – 1 bidirectional roads in DomKi. The citi...
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 ...
Primary Key
"Clarity-Lon" is the new awesome e-commerce based startup that went to the top of the chart within f...
Device ID
A device ID is a distinct number associated with a smartphone or similar handheld device. Every smar...
So Long
As all people know ICPC can be very dull sometimes for people other than contestants. Jodu, Modu, an...
Yet Another Xinversion
The problem statement is simple. You are given a rooted tree (1 is the root) and every node has a co...
Social Distancing
The country of KhoaNali is structured as a giant road with N buildings on both sides, the northern b...
Jontrona of Liakot
Liakot, the king of Cox's Bazar, is currently in a dire situation. His own younger sister Ayesha is ...
MEXFN
This is a straightforward problem without much story behind the problem. You have to calculate MEXF...
Expandable ListView
Minas is working on his new language. He want to add a feature call expandable listview. Here he exp...
Dynamic Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
Rational Monkey
There lived a wise monkey in the forest of Amazon. One day he started searching the jungle for banan...
Battle of Endor
After myriad battles and death of million rebel soldiers, it is high time to destroy the imperial ar...
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 ...
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...
Smallest Subarray
You are given an array A of N integers A1, A2, A3, ..., AN . If we select two indices (1 ≤ i ≤ j ≤ N...
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...
New Year Couple
The new year 2017 is here. To celebrate the 31st night, Mr Rio has thrown a big party at his house. ...
Erik: The Candyboy - 2
Now Erik has more candies than he had previously. In fact, he has infinite number of candies, and he...
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...
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...
Perseus and The New Challenge
The life of princess Andromeda, the daughter of King Cepheus and Queen Cassiopeia of Ados, is in dan...
Toph uses cookies. By continuing you agree to our Cookie Policy.