URI Online Judge - 1046 - Время игры - ошибка времени выполнения [python] - PullRequest
0 голосов
/ 28 мая 2018

код:

start = input()
start = int(start)

end = input()
end = int(end)

duration = end - start

if duration <= 0 :
    duration += 24

print("O JOGO DUROU", duration, "HORA(S)")

выход:

Traceback (most recent call last): File "Main.py", line 2, in start = int(start)
<br>ValueError: invalid literal for int() with base 10: '23 5' <br>Command exited with non-zero status (1)
...