Cod sursa(job #514999)
Utilizator | Data | 20 decembrie 2010 03:48:10 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int a,b;
ifstream f("adunare.in");
ofstream g("adunare.out");
int main()
{
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}