cool hamsters never sleep
백준 15552. 빠른 A+B 본문
import sys
T = int(input())
for i in range (T) :
A, B = map(int, sys.stdin.readline().split())
print(A+B)
1. 파이썬에서 빠른 입력
input 대신 sys.stdin.readline 사용하기
'Python Algorithm' 카테고리의 다른 글
백준 10952. A+B - 5 (0) | 2022.07.16 |
---|---|
백준 10951. A+B - 4 (0) | 2022.07.16 |
백준 10871. X보다 작은 수 (0) | 2022.07.16 |
백준 1110. 더하기 사이클 (0) | 2022.07.16 |
백준 2439. 별 찍기 - 2 (0) | 2022.07.15 |
Comments