본문 바로가기

Algorithm

(C++) - 백준(BOJ) 11021번 : A+B-7

반응형
#include <iostream>
#include <string>
using namespace std;
int main(){
    int num, A, B;
    
    cin >> num;
    for (int i = 0; i < num; i++)
    {
        cin >> A >> B;
        cout << "Case #" << i+1 << ": " << A + B <<'\n';
    }
}