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 |
Tags
- Git
- gs25
- 더현대서울 맛집
- 맥북
- Docker
- 편스토랑 우승상품
- Real or Not? NLP with Disaster Tweets
- 편스토랑
- 캐치카페
- ChatGPT
- 백준
- hackerrank
- 프로그래머스 파이썬
- ubuntu
- dacon
- programmers
- 금융문자분석경진대회
- leetcode
- PYTHON
- 파이썬
- AI 경진대회
- 우분투
- 프로그래머스
- Baekjoon
- SW Expert Academy
- github
- 코로나19
- Kaggle
- 자연어처리
- 데이콘
Archives
- Today
- Total
목록
반응형
triathlon python (1)
반응형
솜씨좋은장씨
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/PmOlv/btrOc8CCOhn/K7DftV84SJdW8nD6kyWH00/img.png)
코딩 1일 1문제! 오늘의 문제는 백준의 Triathlon 입니다. 25600번: Triathlon 트라이애슬론(Triathlon)이란 라틴어에서 $3$가지라는 의미를 가진 tri와 경기를 뜻하는 athlon의 합성어이다. 우리나라에서는 트라이애슬론 대신 철인 3종 경기로 알려져 있다. 트라이애슬론은 여러 www.acmicpc.net 👨🏻💻 코드 ( Solution ) def calculate_triathlon_score(a, d, g): score = a * ( d + g ) if a == ( d + g ): score *= 2 return score def get_max_score(score_list): answer_score = 0 for score in score_list: a, d, g = s..
Programming/코딩 1일 1문제
2022. 10. 15. 12:53
반응형