Problem.15552
Problem.15552
15552번[열개씩 끊어서 출력하기]
문제 : 각 테스트케이스마다 A+B를 한 줄에 하나씩 순서대로 출력한다.(입력 A,B는 1000이하 케이스 T는 최대 1,000,000이다.)
#include <stdio.h>
int main(){
int N;
int a,b;
scanf("%d",&N);
for (int i = 0; i < N; ++i)
{
scanf("%d %d",&a,&b);
printf("%d\n",a+b);
}
}
comments powered by Disqus