Cod sursa(job #1278971)
Utilizator | Data | 29 noiembrie 2014 16:43:59 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{ int a,b,s;
fstream f("adunare.in");
ofstream g("adunare.out");
f>>a>>b;
s=a+b;
g<<s<<endl;
f.close();
g.close();
return 0;
}