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 |
Tags
- 프로그래머스
- SW Expert Academy
- 맥북
- Baekjoon
- 금융문자분석경진대회
- gs25
- 백준
- 편스토랑
- 프로그래머스 파이썬
- 편스토랑 우승상품
- ChatGPT
- hackerrank
- Docker
- 코로나19
- PYTHON
- github
- 캐치카페
- 파이썬
- dacon
- Kaggle
- 더현대서울 맛집
- 우분투
- leetcode
- AI 경진대회
- programmers
- 데이콘
- 자연어처리
- Real or Not? NLP with Disaster Tweets
- ubuntu
- Git
Archives
- Today
- Total
솜씨좋은장씨
[BaekJoon] 5554번 : 심부름 가는 길 (Python) 본문
728x90
반응형

코딩 1일 1문제! 오늘의 문제는 백준의 심부름 가는 길 입니다.
5554번: 심부름 가는 길
승균이는 매일 학교, PC방, 학원에 다닌다. 반복되는 일상에 익숙해진 승균이는 이동시간을 단축해서 PC방에 더 오래 머물고 싶었다. 그래서 스톱워치를 들고 이동할 때마다 기록을 잰 후 집
www.acmicpc.net
👨🏻💻 코드 ( 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)
GitHub - SOMJANG/CODINGTEST_PRACTICE: 1일 1문제 since 2020.02.07
1일 1문제 since 2020.02.07. Contribute to SOMJANG/CODINGTEST_PRACTICE development by creating an account on GitHub.
github.com
'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 |