Cod sursa(job #499862)
Utilizator | Data | 10 noiembrie 2010 22:23:15 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.28 kb |
#include <stdio.h>
#include <algorithm>
#define x first
#define y second
using namespace std;
pair <int,int> p;
int main()
{
freopen("adunare.in","r",stdin);
freopen("adunare.out","w",stdout);
scanf("%d%d",&p.x,&p.y);
printf("%d\n",p.x+p.y);
return 0;
}