Cod sursa(job #288726)
Utilizator | Data | 26 martie 2009 08:03:58 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | aa | Marime | 0.15 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
int main()
{f>>a>>b;
g<<a+b;
f.close();
g.close();
return 0;}