Cod sursa(job #26547)
Utilizator | Data | 5 martie 2007 18:36:26 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 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;
return 0;
}