Whatever it takes
CodeChefOpen on judge ↗
Thanos has already destroyed half of Earth and Tony Stark a.k.a Iron Man is stuck in outer space. He needs to return back to Earth to save his other friends. Suddenly, he receives a sequence of numbers which appears to be a code to activate a power source. Since Stark is a genius, he knows that he has to delete the digit in the first position and insert the number $0$ in the last position. But he
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