我正在开始使用Codechef。我在Python中提交了以下代码来解决this question。运行时错误(NZEC) - Python/Codechef
下面的代码和codechef的在线(python)IDE以及我的本地IDE一起工作正常。但是,当我在codechef上提交它时,它会导致运行时错误(NZEC)。有人能向我解释这背后的原因吗?
withdrawCash = int(input())
totalCash = int(input())
if withdrawCash < totalCash and withdrawCash % 5 is 0:
totalCash = (totalCash - withdrawCash) - 0.5
print(totalCash)
[This](http://stackoverflow.com/questions/37022097/nzec-runtime-error-in-python)可能会帮助,因为我去过那里并摆脱它。 –