Cod sursa(job #897831)
Utilizator | Data | 27 februarie 2013 22:34:50 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
}