View Code of Problem 109

#include<stdio.h>
#include<string.h>
#include<math.h>
#include<algorithm>
using namespace std;

int main()
{
   long long x,y;
   int n;
   scanf("%d",&n);
   while(n--)
   {
       scanf("%lld %lld",&x,&y);
       printf("%lld\n",x+y);
   }
   return 0;
}

Double click to view unformatted code.


Back to problem 109