https://www.acmicpc.net/problem/11651
11651번: 좌표 정렬하기 2
첫째 줄에 점의 개수 N (1 ≤ N ≤ 100,000)이 주어진다. 둘째 줄부터 N개의 줄에는 i번점의 위치 xi와 yi가 주어진다. (-100,000 ≤ xi, yi ≤ 100,000) 좌표는 항상 정수이고, 위치가 같은 두 점은 없다.
www.acmicpc.net
TypeError: 'map' object cannot be interpreted as an integer
TypeError: int() argument must be a string, a bytes-like object or a number, not 'list'
N의 첫 값이 하나만 받기 때문에 오류가 나는 것 같다.
728x90
'🤓 알고리즘' 카테고리의 다른 글
deque (0) | 2021.06.21 |
---|---|
[알알알] week04 개념 (0) | 2021.06.19 |
[알알알] week03 개념 (0) | 2021.06.18 |
[알알알] week02 개념 (0) | 2021.06.16 |
[210615] 오늘의 알고리즘 (0) | 2021.06.15 |