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
- 프로그래머스
- 자연어처리
- gs25
- 편스토랑 우승상품
- 프로그래머스 파이썬
- dacon
- 캐치카페
- 파이썬
- Kaggle
- 코로나19
- Baekjoon
- 금융문자분석경진대회
- 우분투
- 데이콘
- github
- AI 경진대회
- ChatGPT
- ubuntu
- Docker
- 백준
- PYTHON
- Git
- 더현대서울 맛집
- 편스토랑
- 맥북
- hackerrank
- programmers
- Real or Not? NLP with Disaster Tweets
- SW Expert Academy
- leetcode
Archives
- Today
- Total
솜씨좋은장씨
[BaekJoon] 16099번 : Larger Sport Facility (Python) 본문
728x90
반응형
코딩 1일 1문제! 오늘의 문제는 백준의 Larger Sport Facility 입니다.
🧑🏻💻 코드 ( Solution )
def larger_sport_facility(lt, wt, le, we):
larger_facility = "Tie"
eurecom = lt * wt
telecomparistech = le * we
if eurecom > telecomparistech:
larger_facility = "TelecomParisTech"
elif eurecom < telecomparistech:
larger_facility = "Eurecom"
return larger_facility
if __name__ == "__main__":
for _ in range(int(input())):
lt, wt, le, we = map(int, input().split())
print(larger_sport_facility(lt=lt, wt=wt, le=le, we=we))
'Programming > 코딩 1일 1문제' 카테고리의 다른 글
[BaekJoon] 21612번 : Boiling Water (Python) (0) | 2022.11.15 |
---|---|
[BaekJoon] 5928번 : Contest Timing (Python) (0) | 2022.11.14 |
[BaekJoon] 1551번 : 수열의 변화 (Python) (0) | 2022.11.12 |
[BaekJoon] 11006번 : 남욱이의 닭장 (Python) (0) | 2022.11.11 |
[BaekJoon] 17206번 : 준석이의 수학 숙제 (Python) (0) | 2022.11.10 |
Comments