Cod sursa(job #261394)
Utilizator | Data | 18 februarie 2009 10:43:09 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.17 kb |
#include<fstream.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
long a,b,s;
f>>a>>b;
s=a+b;
g<<s;
f.close();
g.close();
return 0;
}