Earthquake in Valorant
CodeChefOpen on judge ↗
In the **valorant** kingdom. There are $N$ Cities numbered from $1$-$N$, initially connected with $N-1$ bidirectional flyovers, One day Breach was doing training of his ultimate, while doing it he made an earthquake in the city, Due to which some of the flyovers broke down (possibly $0$). After the earthquake, Cypher said **"What has Breach done to this kingdom, However Pretty their lies are the
HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17
CodeSearch Tutor
Hints, not spoilers — it won’t hand over the full solution unless you insist.
Sign in to chat with the tutor and save your progress.
Sign in to start