Cod sursa(job #1239987)
Utilizator | Data | 10 octombrie 2014 08:59:38 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.21 kb |
#include <fstream>
using namespace std;
ifstream f("adunare.in");
ofstream g("adunare.out");
int a,b,s;
int main ()
{
f >> a >> b;
s = a + b;
g << s << '\n';
g.close ();
return 0;
}