← All problemsSign in

Defeat Vilgax Army

Thanks to you, Grey Matter was successful in reaching the control room and destroying the ships engines. The spaceship crashed but all of Vilgax's army is wreaking havoc in the city of New York. The army starts marching towards Ben in a line. Ben transforms into his favorite alien Diamond Head and starts defeating the aliens. When every $10$ aliens defeated, Ben defeats the first $8$ aliens and t

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