dh-winternagi 님의 블로그
(10952) A+B - 5 본문
https://www.acmicpc.net/problem/10952
단계별로 풀어보기
3단계(반복문) 11번째

#include <iostream>
using namespace std;
int main()
{
while(true){
int a, b;
cin >> a >> b;
if(!a) break;
cout << a+b << "\n";
}
return 0;
}'백준 (C++) > Solve' 카테고리의 다른 글
| (10807) 개수 세기 (0) | 2026.04.09 |
|---|---|
| (10951) A+B - 4 (0) | 2026.04.09 |
| (2439) 별 찍기 - 2 (0) | 2026.04.08 |
| (2438) 별 찍기 - 1 (0) | 2026.04.08 |
| (11022) A+B - 8 (0) | 2026.04.08 |
