Candidate | Softeer Assessment UI
Candidate | Softeer Assessment UI
softeer.ai
나의 코드
import sys
input=sys.stdin.readline
min_len=float('inf')
station=''
stations=int(input())
for _ in range(stations):
x,y=list(map(int,input().split()))
if min_len>y:
min_len=y
station=str(x)+' '+str(y)
print(station)'코딩테스트 파이썬 > 파이썬 프로그래머스 1단계' 카테고리의 다른 글
| Softeer 연습문제(1단계) - 나무 심기 (0) | 2024.06.25 |
|---|---|
| Softeer 연습문제(1단계) - A+B (0) | 2024.06.23 |
| Softeer 연습문제(1단계) - 주행거리 비교하기 (1) | 2024.06.23 |
| Softeer 연습문제(1단계) - 위험한 효도 (0) | 2024.06.23 |
| Softeer 연습문제(1단계) - 후보자 (0) | 2024.06.23 |