MEXimum Let’s get straight to the point. You are given a tree. In the tree, each node u has a number au ass... |

Plant Trees, Save Life There are n students in a school. Some of them are friends with each other. You want to make the sch... |

Tahsin and Tree Tahsin loves graph theory very much. He is especially fond of trees. For his upcoming birthday his f... |

Identify the Level Amin and Belal are two friends. Both have good knowledge about graph and tree in data structure part... |

MonoMono You have probably heard of the famous board game, Monopoly. According to Wikipedia, in this game, pl... |

Multiverse Of Courier Service Dr. Strange finally discovered a safe way to travel between parallel universes. By noticing people’s... |

Milad's Lost Tree Milad likes trees so much. He has a rooted tree with $n$ vertices each of which has some non-negativ... |

Kingdom - Great Roads of Destiny Shin wants to be the “Great General of the Heaven”. It is his dream. But becoming a “Great General o... |

Sofdor Ali's Black and White Tree Sofdor Ali loves Computer Science. He prefers hexadecimal number system to decimals, just because it... |

Stephen, Bob, and Tomato's Canvas If Stephen Hawking was right, then there is a universe where Bob Ross is a student of Tomato Yoshi. ... |

COVID-19 Outbreak COVID-19 outbreak in Atlantis is so bad that the government is forced to lock down the whole country... |

Keep Moving Balurmath is a city which has N interesting tourist spots, which are connected between themselves by... |

Set the Meeting Three colleagues Motu, Biscuit and Ramjan are in Sundarbans now. They are on a mission to protect th... |

Scarlet Speedster The scarlet speedster of Central City, popularly known as the Flash is fighting an epic battle again... |

Best Place to Arrange Contest We are going to arrange the 7th CPU CSE programming contest in our department. But to arrange a cont... |

Bad XOR 2 (Hard) So after successfully becoming many people's nightmare, XOR has struck again, this time to haunt you... |

Circuit Breaker In your free time, you like to design various electrical circuits to give a hard time to your local ... |

Kingdom of Code Kingdom CODE is the most peaceful place in the universe. King NOVOSH and Queen ALMIDA is ruling this... |

Haunting of Herobrine Herobrine's horror stories are known by many, but only a few dares to speak that name out loud, for ... |

Village Fair 2 There are N houses in a village far away from here. They are numbered from 1 to N. For this problem ... |

Unfair Robot Race Two teams of robots, Team A and Team B, are racing in a 2D grid. There will be a total of 6 rounds. ... |

Taofiq the House Prefect Tomorrow is a very special day for Taofiq. He is participating in an intra school quiz contest. As h... |

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... |

Darth Vader and 3PO on a Tree! Did you watch Star Wars yet? No? You should in your free time. Now back to Darth Vader and 3PO. Dart... |

Explosion There is a house named Larcana. It is a very weird house. There are exactly N rooms in total and bet... |

2Sat, Adhoc, ApolloneasTheorem, Backtracking, BFS, Bignum, BinarySearch, BipartiteMatching, Bitmask, BruteForce, ChineseRemainderTheorem, Combinatorics, ConvexHull, CutVertex, DataStructure, DFS, DigitDP, DisjointSets, DivideAndConquer, DP, Eertree, EulerTour, ExpectedValue, FenwickTree, FFT, Flow, Game, GCD, Geometry, Graph, Greedy, Hashing, HeavyLightDecomposition, Implementation, InclusionExclusion, Interactive, KnuthMorrisPratt, LowestCommonAncestor, Math, Matrix, MatrixExponentiation, MergeSortTree, ModularExponentiation, MOSAlgorithm, MST, NTT, NumberTheory, Parsing, PersistentLiChaoTree, PersistentSegmentTree, PollardRho, PriorityQueue, Probability, Queue, RabinMiller, RangeOrderStatistics, Scheduling, SegmentTree, ShortestPath, Simulation, Sorting, SparseTable, SpragueGrundyTheorem, SqrtDecomposition, Stack, String, StronglyConnectedComponents, SuffixStructure, TernarySearch, Tree, Trie, TwoPointer, WaveletTree

Toph uses cookies. By continuing you agree to our Cookie Policy.