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