Cod sursa(job #84106)
| Utilizator | Data | 13 septembrie 2007 15:03:18 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.22 kb |
/* A+B */
#include<iostream.h>
#include<stdio.h>
int main()
{
int a,b;
FILE *f,*g;
f= fopen("adunare.in","r");
fscanf(f,"%d%d",&a,&b);
fclose(f);
g= fopen("adunare.out","w");
fprintf(g,"%d",a+b);
return 0;
}
