Cod sursa(job #404576)
| Utilizator | Data | 26 februarie 2010 12:42:39 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.24 kb |
#include <stdio.h>
int main()
{
FILE *f1;
int x,y;
f1=fopen("adunare.in","r");
fscanf(f1,"%d%d",&x,&y);
fclose(f1);
f1=fopen("adunare.out","w");
fprintf(f1,"%d\n",x+y);
fclose(f1);
return 0;
}
