#include<stdio.h>
int main(){
int number;
int a,b;
scanf("%d \n",&number);
for(int i =1; i< number+1; i++){
scanf("%d %d\n",&a, &b);
printf("%d\n",a+b);
}
return 0;
}
i= 1로 초기화 안하고 i = 0 으로 초기화?? 해버려서 안돌아감
'2021_1학기_노력.. > C 언어 및 백준 알고리즘' 카테고리의 다른 글
백준 15552번 (0) | 2021.12.03 |
---|---|
백준 8389번 (0) | 2021.12.03 |
백준 2739번 (0) | 2021.12.02 |
백준 2884번 (0) | 2021.12.02 |
백준 14681번 (0) | 2021.12.02 |