So Long
As all people know ICPC can be very dull sometimes for people other than contestants. Jodu, Modu, an...
Big Tang Theory
Shell Don (Shelly in short) is a theoretical physicist who is claimed to be highly intelligent with ...
Holy Tree
What is a tree? A tree is a bidirectional connected graph with no cycle. In a tree, we can create ...
StackLang
StackLang is a stack-based programming language. Here, each program contains a series of commands th...
MEXimum
Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au​ ass...
Subtree MEX
You will be given a balanced binary tree of N nodes. Each of the nodes of the tree will contain a no...
Counting Friends
Johnny uses a social network called Supernova. Unlike the other social networks, Supernova does not ...
Water in a Tree
There is a tree consist of N nodes and N−1 edges. The ith node contains Si​ liters of water with a t...
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...
Protik and Hill Climbing
Who doesn't want to save a mother? Like everyone,  Protik was finding a way to earn some money (he h...
Rational Monkey
There lived a wise monkey in the forest of Amazon. One day he started searching the jungle for banan...
GCD and Sum
Congratulations! You’ve been hired in “Buggy Software Ltd.” And you’ve been already given your first...
Nearest Light
We, iuian develop a virtual vertical line with infinite length are numbered starting from zero from ...
XOR Tree
You are given a tree with N vertices. A tree is a connected undirected graph without cycles. The tre...
Escape Plan
Hey, you are stuck on prison and you have to get out soon. This prison has one way road and you can ...
ICPC World Final
ICPC (International Collegiate Programming Contest) World final is one of the most prestigious conte...
Buckets of Water
In Abby's area the water is available in the tap only from 6AM to 8AM. So, Abby thought she would st...
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...
A Super Easy Problem - "Array Query"
Let's get into the problem directly without much description this time :D . You are given an array A...
Going Round in Circles
You are given an array of non-negative integers of length n. You have to perform two types of operat...
Easy Peasy, Lemon Squeezy
Let's consider an array A which is initially empty. We'll perform two types of operation on that arr...
Video Game Pro
Shefin is playing a video game. In this game, there will be $N$ buildings in a row. $i^{th}$ buildin...
Color The Graph
You are given an acyclic, bidirectional graph with N nodes and M edges. The nodes are numbered from ...
Making Football Teams
There are N football teams and each team has a positive number of players. You are given Q queries. ...
Toph uses cookies. By continuing you agree to our Cookie Policy.