Cod sursa(job #329332)
Utilizator | Data | 5 iulie 2009 21:31:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.31 kb |
#include <cstdio>
#define file_in "adunare.in"
#define file_out "adunare.out"
int a,b;
int main()
{
freopen(file_in,"r",stdin);
freopen(file_out,"w",stdout);
scanf("%d%d", &a, &b);
printf("%d\n", a+b);
fclose(stdin);
fclose(stdout);
return 0;
}