Cod sursa(job #233022)
Utilizator | Data | 16 decembrie 2008 19:08:27 | |
---|---|---|---|
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()
{
int a,b;
f>>a>>b;
g<<(long)a+b;
f.close();
g.close();
return 0;
}