본문 바로가기

Algorithm

C++(씨쁠쁠)(cplusplus)-백준(baekjoon)(BaekJoon)코딩 9295번:주사위 답

반응형
1
2
3
4
5
6
7
8
9
10
11
12
#include <iostream>
using namespace std;
int main() {
    int a, b, t,c=0;
    cin >> t;
    while (t--)
    {
        c++;
        cin >> a >> b;
        cout << "Case " << c << ": " << a + b << '\n';
    }
}
cs