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
- Docker
- Real or Not? NLP with Disaster Tweets
- AI 경진대회
- ChatGPT
- 우분투
- programmers
- 더현대서울 맛집
- 데이콘
- gs25
- leetcode
- github
- Git
- 프로그래머스
- 코로나19
- 금융문자분석경진대회
- ubuntu
- 캐치카페
- 자연어처리
- 파이썬
- PYTHON
- 프로그래머스 파이썬
- hackerrank
- 백준
- 맥북
- 편스토랑 우승상품
- dacon
- Kaggle
- Baekjoon
- SW Expert Academy
- 편스토랑
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