https://www.acmicpc.net/problem/11022
BOJ 11022 - A+B - 8
작성언어: Python3
t = int(input())results = []for i in range(1, t+1): num1, num2 = map(int, input().split()) results.append('Case #' + str(i) + ': ' + str(num1) + ' + ' + str(num2) + ' = ' + str(num1+num2))for result in results: print(result)pc 환경에서 코드를 보는 것을 권장합니다.
'알고리즘 문제 풀기 > BOJ' 카테고리의 다른 글
| BOJ 10952 - A+B - 5 (0) | 2019.07.29 |
|---|---|
| BOJ 10951 - A+B - 4 (0) | 2019.07.29 |
| BOJ 11021 - A+B - 7 (0) | 2019.07.27 |
| BOJ 10950 - A+B - 3 (0) | 2019.07.27 |
| BOJ 2884 - 알람 시계 (0) | 2019.07.19 |