1
2
3
4
|
a,b,c=map(int,input().split())
ans= c-11+(b-11)*60+(a-11)*1440
if ans<0: print(-1)
else: print(ans)
|
cs |
간단한 시계 문제라고 보시면 되겠습니다
반응형
'python-algorithm' 카테고리의 다른 글
[백준] 6764 (0) | 2021.03.03 |
---|---|
[백준] 6763 (0) | 2021.03.03 |
[백준] 1297 (0) | 2021.03.03 |
[백준] 20492 (0) | 2021.03.03 |
[백준] 20254 (0) | 2021.03.03 |
댓글