[python/νμ΄μ¬] λ°±μ€ BEAKJOON 11557λ²: Yangjojang of The Year
https://www.acmicpc.net/problem/11557
1. λ¬Έμ
2. μ λ΅
top_consume_amount = int(0)
top_consume_university = ""
t = int(input())
for a in range(t):
n = int(input())
for b in range(n):
university, consume = input().split(' ')
if(int(consume) > int(top_consume_amount)):
top_consume_university, top_consume_amount = university, consume
print(top_consume_university)
'SWLUG > λ°±μ€ BEAKJOON' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
[python/νμ΄μ¬] λ°±μ€ BEAKJOON 2562λ²: μ΅λκ° (0) | 2023.06.25 |
---|---|
[python/νμ΄μ¬] λ°±μ€ BEAKJOON 10817λ²: μΈ μ (0) | 2023.05.31 |
[python/νμ΄μ¬] λ°±μ€ BEAKJOON 22966λ²: κ°μ₯ μ¬μ΄ λ¬Έμ λ₯Ό μ°Ύλ λ¬Έμ (0) | 2023.05.22 |
[python/νμ΄μ¬] λ°±μ€ BEAKJOON 2476λ²: μ£Όμ¬μ κ²μ (0) | 2023.05.22 |
[python/νμ΄μ¬] λ°±μ€ BEAKJOON 16430λ²: μ 리μ ν° (0) | 2023.05.17 |