Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

1046 - Game Time

#1046 - Game Time uri solution
startTime, endTime = map(int,input().split())
if startTime < endTime:
    durationOfTheGame = endTime-startTime
elif startTime > endTime:
    durationOfTheGame = 24 - startTime + endTime
elif startTime == endTime:
    durationOfTheGame = 24

print(f"O JOGO DUROU { durationOfTheGame } HORA(S)")

#Isfak Ahmed
 
PREVIOUS NEXT
Tagged: #Game #Time
ADD COMMENT
Topic
Name
8+5 =