본문 바로가기
python-algorithm

백준 26307 Correct

by 무적김두칠 2022. 12. 13.

https://www.acmicpc.net/problem/26307

 

26307번: Correct

Your best friend, Charlie, participated Taiwan Online Programming Contest (TOPC), which is a preliminary contest of the International Collegiate Programming Contest (ICPC). According to the rules, teams are ranked according to the most problems solved. Tea

www.acmicpc.net

 

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

댓글