Problem 3463 · Hard

Check If Digits Are Equal in String After Operations II

Repeatedly replace neighbouring digits with their sum mod 10 until two digits remain, then compare them.

Open the interactive visualisation