Skip to content

Instantly share code, notes, and snippets.

@vicky002
Created March 16, 2015 14:01
Show Gist options
  • Save vicky002/04eae1d83ac9c99853aa to your computer and use it in GitHub Desktop.
Save vicky002/04eae1d83ac9c99853aa to your computer and use it in GitHub Desktop.
Contest 1
#include <iostream>
#include <stdio.h>
using namespace std;
int main()
{
int n;
while ( scanf("%d",&n) != EOF )
{
for( int i = 0 ; i < n ; i++)
{
int x ,y;
scanf("%d %d",&x,&y);
printf("%d\n",x+y);
}
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment