View Code of Problem 109

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

	for(int j=0;j<n;j++)
	printf("%d\n",a[j]+b[j]);
}

Double click to view unformatted code.


Back to problem 109