Cod sursa(job #726459)
| Utilizator | Data | 27 martie 2012 11:28:06 | |
|---|---|---|---|
| Problema | A+B | Scor | 100 |
| Compilator | cpp | Status | done |
| Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<stdio.h>
int a,b;
FILE *f=fopen("adunare.in","r"),*g=fopen("adunare.out","w");
int main()
{
fscanf(f,"%d%d",&a,&b);
fprintf(g,"%d",a+b);
return 0;
}
