Cod sursa(job #24657)
Utilizator | Data | 3 martie 2007 11:16:29 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 kb |
#include<stdio.h>
#include<conio.h>
#include<string.h>
unsigned long int a,b;
int main()
{
FILE *f=fopen("adunare.in","r");
fscanf(f,"%lu%lu",&a,&b);
fclose(f);
f=fopen("adunare.out","w");
fprintf(f,"%lu",a+b);
fclose(f);
return 0;
}