I was solving Problem A Round 567 Div.2 I solved it by python 3 and submitted it, But I got wrong answer because input was three numbers: 999999999999999997 999999999999999998 5
and the correct answer was:
but my script output was:
But I tested the script with Codeforces test case and got: 400000000000000000 0
Why my script answered differently on codeforces servers and my computer?