← All problemsSign in

Impressing Mikasa

Training in the Training Corps is quite difficult for everyone, so everyone once in a while takes a break from them and has fun. Today’s game is different, it's between $Mikasa’s$ and $Annie’s$ team. The game goes like this, one team takes a very long number, writes it on a long sheet of paper such that every digit is side-by-side. After writing the number they tear the paper into small pieces of

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