// hdoj_1090 A+B for Input-Output Practice (II)
#include <stdio.h>
int main(void)
{
int a, b, n;
scanf("%d", &n);
while(n--&&scanf("%d%d", &a, &b))
{
printf("%d\n", a + b);
}
return 0;
}
同样的水题……
// hdoj_1090 A+B for Input-Output Practice (II)
#include <stdio.h>
int main(void)
{
int a, b, n;
scanf("%d", &n);
while(n--&&scanf("%d%d", &a, &b))
{
printf("%d\n", a + b);
}
return 0;
}