Cod sursa(job #1950355)
Utilizator | Data | 2 aprilie 2017 22:07:51 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <fstream>
using namespace std;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int main(){
int a, b, s;
fin >> a >> b;
s = a + b;
fout << s << '\n';
fin.close();
fout.close();
return 0;
}