Cod sursa(job #159541)
Utilizator | Data | 14 martie 2008 11:04:18 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
void main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
long a, b,s;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
}