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