Cod sursa(job #368072)
Utilizator | Data | 23 noiembrie 2009 22:16:31 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
ofstream g("adunare.out");
ifstream f("adunare.in");
int a,b;
int main()
{ f>>a;
f>>b;
g<<a+b<<"\n";
return 0;
f.close();
g.close();
}