← All problemsSign in

Deadpool and his COOLEST Problem Ever

CodeChefRating 2636Open on judge ↗

Deadpool: "You’re probably thinking “Whose balls did I have to fondle to get my very own COOL PROBLEM”? I can’t tell you his name, but it rhymes with ‘pullverine' " Deadpool and Wolverine go head to head in a crazy game on Crazy Country. Let’s first get some details about Crazy country. The Crazy Country has N cities. It is possible to go from one city to any other city in Crazy Country And there

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.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start