알고리즘

[알고리즘] 백준 9295 - 주사위

blueberrysoda 2024. 7. 13. 23:56
#include <iostream>
using namespace std;

int main(){
    int N;
    cin >> N;
    for(int i=1; i<=N; i++) {
        int x, y; 
        cin >> x >> y;
        cout << "Case " << i << ": " << x + y << '\n';
    }
    return 0;
}