Cheap Tourist
The country of Byteland is divided into N provinces numbered from 1 to N. The provinces are connecte...
Magical Tree Query
You are given a rooted tree (a connected graph with no cycles) with n vertices. The vertices are num...
Hasan the Treasure Hunter
Benjamin Gates the treasure hunter opened a coaching center named Khajna Dibo Na where he teaches hi...
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...
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...
Ajob Commute II
Once again we return to Ajobshohor, the capital city and the heart of Ajobdesh. Ajobshohor’s road sy...
Static Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
Toph uses cookies. By continuing you agree to our Cookie Policy.