https://www.acmicpc.net/problem/26307
1
2
3
4
5
6
7
8
|
def sol(hh, mm):
answer = hh*60 + mm - 9*60
return answer
if __name__ == '__main__':
hh, mm = map(int, input().split())
print(sol(hh, mm))
|
cs |
단순 시간 계산 문제입니다
Just calculate time
반응형
'python-algorithm' 카테고리의 다른 글
백준 11008 복붙의 달인 (0) | 2022.12.13 |
---|---|
백준 16360 Go Latin (0) | 2022.12.13 |
백준 16208 귀찮음 (0) | 2022.12.12 |
백준 19947 투자의 귀재 배주형 (0) | 2022.12.12 |
백준 13333 Q-인덱스 (0) | 2022.12.12 |
댓글