Cod sursa(job #2003516)
Utilizator | Data | 23 iulie 2017 01:24:31 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include <iostream>
#include <fstream>
using namespace std;
int main()
{ int A,B,S;
ifstream g("adunare.in");
g>>A>>B;
g.close();
S=A+B;
ofstream f("adunare.out");
f<<S;
return 0;
}