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

코딩 1일 1문제! 오늘의 문제는 백준의 Larger Sport Facility 입니다.
16099번: Larger Sport Facility
In a lot of places in the world, elite universities come in pairs and their students like to challenge each other every year. In England, Oxford and Cambridge are famous for The Boat Race, an annual rowing race that opposes them. In Switzerland, students f
www.acmicpc.net
🧑🏻💻 코드 ( 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))
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] 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