Cod sursa(job #233020)
Utilizator | Data | 16 decembrie 2008 19:05:29 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
void main()
{ ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
f>>a>>b;
g<<(long)a+b;
f.close();
g.close();
}