Cod sursa(job #696823)
Utilizator | Data | 28 februarie 2012 20:17:45 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.16 kb |
#include<fstream.h>
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
int main()
{
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}