Cod sursa(job #12787)
Utilizator | Data | 4 februarie 2007 19:31:40 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
int main()
{
long int a,b;
ifstream f("adunare.in");
f>>a;
f>>b;
f.close();
ofstream g("adunare.out");
g<<a+b;
g.close();
return 0;
}