Cod sursa(job #197566)
| Utilizator | Data | 5 iulie 2008 02:00:40 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | c | Status | done |
| Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <stdio.h>
int main()
{
long int a,b;
FILE *f;
f=fopen("adunare.in","r");
fscanf(f,"%ld%ld",&a,&b);
fclose(f);
f=fopen("adunare.out","w");
fprintf(f,"%ld",a+b);
fclose(f);
return 0;
}
