Cod sursa(job #130381)
Utilizator | Data | 31 ianuarie 2008 22:57:11 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.19 kb |
#include <stdio.h>
FILE *f, *g;
long a, b;
int main()
{
f=fopen("adunare.in", "r");
g=fopen("adunare.out","w");
fscanf(f,"%ld %ld",&a,&b);
fprintf(g,"%ld",a+b);
return 0;
}