Cod sursa(job #284282)
Utilizator | Data | 21 martie 2009 15:55:53 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
void main()
{long long a,b,s;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>a;
f>>b;
s=a+b;
g>>s;
f.close();
g.close();
}