Cod sursa(job #130141)
Utilizator | Data | 31 ianuarie 2008 13:19:01 | |
---|---|---|---|
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;
f.close();
g<<(a+b)<<"\n";
g.close();
return 0;
}