Hi, im a complete noob in cpp and did this problem 540A - Кодовый замок
Here is my submission: 119121702
The test case that the code fails is
12
102021090898
010212908089
The code works perfectly on my pc but when i upload it to codeforces i get a runtime error and i cant figure out why. Any help would be appreciated...
Thanks in advance.