Cod sursa(job #85360)
Utilizator | Data | 21 septembrie 2007 10:01:06 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{ long a,b;
f>>a>>b;
f.close();
g<<(a+b);
g.close();
return 0;
}