Cod sursa(job #307093)
Utilizator | Data | 22 aprilie 2009 22:38:42 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <stdio.h>
#include <fstream.h>
int a,b;
FILE *f,*g;
int main()
{
ifstream(f,"adunare.in");
ofstream(g,"adunare.out");
f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;
}