My submission: https://mirror.codeforces.com/contest/1613/submission/161506133 Please someone help. I think I wrote the code correctly. It shouldn't get -1 as output(it may print any other wrong value but not -1)
Why am I getting -1 as output in TC 29? (it may print any other wrong value but not -1)
My submission: https://mirror.codeforces.com/contest/1613/submission/161506133 Please someone help. I think I wrote the code correctly. It shouldn't get -1 as output(it may print any other wrong value but not -1)