#include <stdio.h>
int main(void){
int num;
scanf("%d", &num);
int result[num];
// 입력
for(int i = 0; i < num; i++){
int a,b;
scanf("%d %d",&a,&b);
result[i] = a+b;
}
// 출력
for(int j = 0; j < num; j++){
printf("%d\n",result[j]);
}
return 0;
}

ㅋ... 집 드가면 12시 지날거같아서
모바일로 손코딩하기..
그래서 간단한거 한거임.. ㅇㅇ 암튼 그런거임 ㅎㅎ
'백준' 카테고리의 다른 글
| [ 백준 / C ] 1157번 : 단어 공부 (0) | 2025.08.14 |
|---|---|
| [ 백준 / C ] 10998번 : A×B (0) | 2025.08.13 |
| [ 백준 / C ] 2443번 : 별 찍기 - 6 (0) | 2025.08.11 |
| [ 백준 / C ] 32154번 : SUAPC 2024 Winter (0) | 2025.08.08 |
| [ 백준 / C ] 28281번 : 선물 (6) | 2025.08.07 |