I am getting runtime error on submitting this problem?

Revision en2, by ishan_luhani, 2023-09-03 09:36:06

Hello everyone, I am trying to solve this problem: https://mirror.codeforces.com/contest/1861/problem/B

My submission: https://mirror.codeforces.com/contest/1861/submission/221639641

My Python code is running correctly in my ide, but i am getting runtime error in the sample testcase in codeforces!!

Am i missing anything??

Tags python, problem


  Rev. Lang. By When Δ Comment
en2 English ishan_luhani 2023-09-03 09:36:06 6 Tiny change: 'ion/221639787\n\nMy Pyt' -> 'ion/221639641\n\nMy Pyt'
en1 English ishan_luhani 2023-09-03 09:33:14 373 Initial revision (published)