Problems from VU CSE Tech Fest 2019 Programming Contest

These problems are from a contest organized by Varendra University on December 19, 2019 at 3:50 AM UTC See details...

Standings
A. Static Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
B. MaxXOR
You are given an array A of n integers (A1​, A2​, ..., An​) and some queries. In each query, you wil...
C. Dynamic Tree
You are given a tree containing N vertices. The vertices are numbered from 1 to N. A tree with N ver...
D. Make Strings Great Again!
Do you know what is a sub-sequence? A sub-sequence is a sequence that can be derived from another se...
E. String Game
You have a list of N strings, denoted by A1, A2, ..., AN. Each string consists of lowercase English ...
F. Keep Away From Those Oceans
We all know the great story of the Ant and the Grasshopper. Clever Ant survived the tough time of wi...
G. Birthday of Aliens
On the planet of Royal Royal, a university named Royal University of Engineering and Technology exis...
H. MonoMono
You have probably heard of the famous board game, Monopoly. According to Wikipedia, in this game, pl...
I. 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 ...
J. Roll the Dice
You have got a 6 sided dice. In a single roll, it may show any integers from 1 to 6. You are going t...
K. Wheel Graph
Today we will learn about a special type of graph called Wheel Graph. In the mathematical discipline...
Toph uses cookies. By continuing you agree to our Cookie Policy.