본문 바로가기
python-algorithm

백준 16099 Larger Sport Facility

by 무적김두칠 2022. 11. 15.

https://www.acmicpc.net/problem/16099

 

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

 

1
2
3
4
5
6
7
8
9
10
if __name__ == '__main__':
    n=int(input())
    for i in range(n):
        lt,wt,le,we=map(int,input().split())
        if lt*wt<le*we:
            print("Eurecom")
        elif lt*wt>le*we:
            print('TelecomParisTech')
        else:
            print('Tie')
cs

반복문, 출력 입니다
Loop, Print That's all

반응형

댓글