View Code of Problem 109

#include<stdio.h>
void main(){
	int t,i;
	int a[100],b[100];
	scanf("%d",&t);
	for(i=0;i<t;i++)
		scanf("%d%d",&a[i],&b[i]);
	for(i=0;i<t;i++)
		printf("%d\n",a[i]+b[i]);
}

Double click to view unformatted code.


Back to problem 109