Notice
Recent Posts
Recent Comments
Link
관리 메뉴

Star_project

sys.stdin=open() map(int, input().split()) list(map(int, input().split() 본문

코딩테스트/Python

sys.stdin=open() map(int, input().split()) list(map(int, input().split()

star빛 2022. 6. 2. 11:26

 

import sys
sys.stdin=open("pythonalgorithm/섹션 2/3. k번째 큰 수/in1.txt", "rt")
n, k=map(int, input().split())
print(n, k)
a=list(map(int, input().split()))
print(a)
10 3
[18, 54, 46, 52, 28, 22, 23, 53, 28, 40]

'코딩테스트 > Python' 카테고리의 다른 글

TypeError: 'int' object is not callable  (0) 2022.06.02
set 자료구조로 으로 중복제거, list 자료구조로 sort  (0) 2022.06.02
python 백준 1000  (0) 2022.05.01
python 백준 10171  (0) 2022.05.01
객체 이해  (0) 2022.04.14