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