반응형
#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';
}
}
'Algorithm' 카테고리의 다른 글
C++(씨쁠쁠)(cplusplus)-백준(baekjoon)(BaekJoon)코딩 10953번:A+B-6 답 (0) | 2016.10.06 |
---|---|
C++(씨쁠쁠)(cplusplus)-백준(baekjoon)(BaekJoon)코딩 11022번:A+B-8 답 (0) | 2016.10.05 |
(C++) - 백준(BOJ) 10951번:A+B-4 (테스트 케이스가 없을 때) 답 (0) | 2016.10.05 |
C++(씨쁠쁠)(cplusplus)-백준(baekjoon)(BaekJoon)코딩 10950번:A+B-3 답 (0) | 2016.10.05 |
C++(씨쁠쁠)(cplusplus)-백준(baekjoon)(BaekJoon)코딩 2558번:A+B-2 답 (0) | 2016.10.05 |