Cod sursa(job #659466)
Utilizator | Data | 10 ianuarie 2012 17:42:06 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 kb |
#include<fstream.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int b, a;
f>>a>>b;
g<<a+b;
f.close();
g.close();
}