Cod sursa(job #271382)
Utilizator | Data | 5 martie 2009 11:07:27 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include<fstream.h>
int main()
{
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b;
long int s;
f>>a;
f>>b;
s=a+b;
g<<s<<"\n";
f.close();
g.close();
return 0;
}