Telegraph in War
CodeChefOpen on judge ↗
Time Travel to Past It is the time of Civil War in United States. At this time different stations/military posts are connected through bi-way telegraph lines. During time of war the fast communication between the posts is must. CandyZack was the Military General of the US army. There are many stations across the land. Each station is having a unique integer id. The telegraph connections are only
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