백준1 단계별로 풀어보기 4. While 문 sys.stdin 10952 A + B - 5 (2/5) import sys for k in sys.stdin: a,b=map(int,k.split()) if a!=0 and b!=0: print(a+b) https://www.acmicpc.net/source/17419127 Python sys.stdin과 sys.stdin.readline() https://bnzn2426.tistory.com/105 sum 10951 A + B - 4 (2/5) import sys for line in sys.stdin: a, b = map(int, line.split()) print(a+b) # 다른분 코드 for line in sys.stdin: print(sum(map(int,line.spli.. 2022. 2. 5. 이전 1 다음