Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- 자연어처리
- 금융문자분석경진대회
- 우분투
- Baekjoon
- 백준
- ubuntu
- hackerrank
- ChatGPT
- leetcode
- AI 경진대회
- 파이썬
- 편스토랑 우승상품
- programmers
- 프로그래머스
- 캐치카페
- dacon
- 프로그래머스 파이썬
- gs25
- 맥북
- github
- Docker
- PYTHON
- 편스토랑
- SW Expert Academy
- 코로나19
- 데이콘
- Git
- 더현대서울 맛집
- Kaggle
- Real or Not? NLP with Disaster Tweets
Archives
- Today
- Total
솜씨좋은장씨
[BaekJoon] 5554번 : 심부름 가는 길 (Python) 본문
728x90
반응형
코딩 1일 1문제! 오늘의 문제는 백준의 심부름 가는 길 입니다.
👨🏻💻 코드 ( Solution )
def simburun_ganumgil(time1, time2, time3, time4):
total_time = time1 + time2 + time3 + time4
minute = total_time // 60
second = total_time % 60
return minute, second
if __name__ == "__main__":
time1 = int(input())
time2 = int(input())
time3 = int(input())
time4 = int(input())
minute, second = simburun_ganumgil(time1, time2, time3, time4)
print(minute)
print(second)
'Programming > 코딩 1일 1문제' 카테고리의 다른 글
[BaekJoon] 5575번 : 타임카드 (Python) (0) | 2022.03.30 |
---|---|
[BaekJoon] 5337번 : 웰컴 (Python) (0) | 2022.03.29 |
[BaekJoon] 16170번 : 오늘의 날짜는? (Python) (0) | 2022.03.27 |
[BaekJoon] 1271번 : 엄청난 부자2 (Python) (0) | 2022.03.26 |
[BaekJoon] 5339번 : 콜센터 (Python) (0) | 2022.03.25 |
Comments