Problem 3461 · Easy

Check If Digits Are Equal in String After Operations I

Repeatedly replace the digits with adjacent sums modulo ten until two remain, then compare them.

Open the interactive visualisation