Cod sursa(job #1263284)
Utilizator | Data | 14 noiembrie 2014 13:10:33 | |
---|---|---|---|
Problema | A+B | Scor | 100 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.26 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;
}