Cod sursa(job #591853)
Utilizator | Data | 25 mai 2011 18:44:39 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
// P000.cpp : Defines the entry point for the console application.
//
#include <stdio.h>
int main()
{
freopen("adunare.in","r",stdin);
freopen("adunare.out","w",stdout);
int a[2];
scanf("%d%d",a,a+1);
printf("%d",*a+*(a+1));
return 0;
}