Cod sursa(job #145195)
Utilizator | Data | 28 februarie 2008 16:17:03 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.15 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;
g.close();
return 0;
}