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
- 우분투
- programmers
- ChatGPT
- 백준
- github
- Baekjoon
- leetcode
- 편스토랑
- 금융문자분석경진대회
- 더현대서울 맛집
- SW Expert Academy
- 파이썬
- 캐치카페
- PYTHON
- 프로그래머스
- 코로나19
- 데이콘
- hackerrank
- Docker
- 프로그래머스 파이썬
- Real or Not? NLP with Disaster Tweets
- dacon
- gs25
- 맥북
- Kaggle
- AI 경진대회
- Git
- 편스토랑 우승상품
- ubuntu
- 자연어처리
Archives
- Today
- Total
솜씨좋은장씨
[BaekJoon] 20254번 : Site Score (Python) 본문
728x90
반응형
코딩 1일 1문제! 오늘의 문제는 백준의 Site Score 입니다.
👨🏻💻 코드 ( Solution )
def site_score(numbers):
site_num = [56, 24, 14, 6]
return sum([(site * num) for site, num in zip(site_num, numbers)])
if __name__ == "__main__":
numbers = list(map(int, input().split()))
print(site_score(numbers))
'Programming > 코딩 1일 1문제' 카테고리의 다른 글
[BaekJoon] 24568번 : Cupcake Party (Python) (0) | 2022.05.28 |
---|---|
[BaekJoon] 21300번 : Bottle Return (Python) (0) | 2022.05.27 |
[BaekJoon] 24736번 : Football Scoring (Python) (0) | 2022.05.25 |
[BaekJoon] 1964번 : 오각형, 오각형, 오각형... (Python) (0) | 2022.05.24 |
[BaekJoon] 19698번 : 헛간 청약 (Python) (0) | 2022.05.23 |
Comments