Cod sursa(job #1295363)
Utilizator | Data | 19 decembrie 2014 12:29:33 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.18 kb |
#include <fstream>
using namespace std;
int main()
{ifstream f("adunare.in");
ofstream g("adunare.out");
int A,B;
f>>A>>B;
g<<A+B;
f.close();
g.close();
return 0;
}