Cod sursa(job #26548)
Utilizator | Nicodei Eduard Omega91 | Data | 5 martie 2007 18:36:57 |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
ifstream f1("adunare.in");
ofstream f2("adunare.out");
int main(void)
{
int a,b;
long s;
f1>>a>>b;
s=a+b;
f2<<s<<endl<<endl;
return 0;
}