Cod sursa(job #762039)
Utilizator | Data | 28 iunie 2012 14:29:33 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Lista lui wefgef | Marime | 0.2 kb |
#include <cstdio>
FILE *f = fopen("adunare.in","r");
FILE *g = fopen("adunare.out","w");
int main(){
long a,b;
fscanf(f,"%d%d",&a,&b);
fprintf(g,"%d",a+b);
fclose(f);
fclose(g);
return 0;
}