Cod sursa(job #1252068)
Utilizator | Data | 30 octombrie 2014 12:47:47 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{int a,b;
ifstream f("adunare.in");
f>>a;
f>>b;
ofstream g("adunare.out");
g<<"suma = "<<a+b<<endl;
f.close();
g.close();
return 0;
}