Cod sursa(job #140552)
Utilizator | Data | 21 februarie 2008 23:04:45 | |
---|---|---|---|
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,s;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}