Cod sursa(job #2192014)
Utilizator | Data | 4 aprilie 2018 13:59:36 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.2 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{ int A,B,S;
ifstream f("adunare.in");
ofstream g("adunare.out");
f>>A;f>>B;g<<A+B;
f.close();
g.close();
return 0;
}