-
Notifications
You must be signed in to change notification settings - Fork 0
2_1. 입출력
ming edited this page Oct 13, 2016
·
3 revisions
--
# 하나의 정수 받기
n = input() # Python2
n = int(input()) # Python3
# 한 줄에서 여러 정수값 받기
int_list = map(int, raw_input().split()) # Python2
int_list = map(int, input().split()) # Python3
# 한 줄에서 여러 실수값 받기
float_list = map(float, raw_input().split()) # Python2
float_list = map(float, input().split()) # Python3
# 여러개의 테스트케이스 받기
# T = 3, 각 테스트케이스별 입력은 2개의 정수일 때
# 3
# 1 2
# 3 4
# 5 6
for i in range(input()): # Python2
m, n = map(int, raw_input().split())
for i in range(int(input())): # Python3
m, n = map(int, input().split())
이 저작물은 크리에이티브 커먼즈 저작자표시-비영리 4.0 국제 라이선스에 따라 이용할 수 있습니다.