Cod sursa(job #2101253)
Utilizator | Data | 7 ianuarie 2018 00:45:38 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
fstream f("adunare.in");
ofstream g("adunare.out")
int main()
{ int a,b;
f>>a;
f>>b;
g<<a+b;
f.close();
g.close();
return 0;
}