Internet Interrupt
CodeChefOpen on judge ↗
Dexter has a problem. He wants to transfer a big file through the internet from his home computer to his computer at work. The size of his file is S kilobytes.The internet consists of N computers, numbered from 1 to N. Dexters's home computer has the number 1 and his computer at work has the number 2. Some pairs of computers are connected by different types of links (such as network cables or wi
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