Cod sursa(job #160447)
Utilizator | Data | 15 martie 2008 20:14:08 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream.h>
int main()
{
long int a,b,c;
ifstream f("adunare.in");
ofstream g("adunare.out");
f >> a >> b;
g << a+b;
f.close();
g.close();
return 0;
}