Cod sursa(job #12222)
Utilizator | Data | 3 februarie 2007 12:17:40 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
ifstream f("adunari.in");
ofstream g("adunari.out");
int main()
{long a,b,s;
f>>a>>b;
f.close();
s=a+b;
g<<s;
g.close();
return 0;
}