Tamasha
CodeChefOpen on judge ↗
So, the story goes like this. Remember Gagan is the hero.Being a hero , he always does crazy stuff and there is nobody to challenge him. But in our wonderland, there comes dj . Dj and Gagan were once great friends but now the everything has changed between them. In order to challenge Gagan's heroism , dj made a trap for gagan. Trap consist of several segments of electricty. In order to trap gagan
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