← All problemsSign in

Sumo Slammer Trump Cards

**Congratulations!!** Vilgax is defeated and its now time for Ben to celebrate. Ben has invited people from all over the universe to Earth for this party. But Ben has not received pocket money for a long time. So sadly, Ben has to sell his favorite Sumo Slammer Trump Cards to raise money for this party. Ben has stored his trump card in a unique inter-galactic safe A where $A[i]$ represents initia

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