Cod sursa(job #1997042)
Utilizator | Data | 3 iulie 2017 11:45:18 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.25 kb |
#include <fstream>
using namespace std;
ifstream fin("aplusb.in");
ofstream fout("aplusb.out");
int add(long int a, long int b) {
return a + b;
}
int main() {
int a, b, x;
fin >> a >> b;
x = add(a, b);
fout << x;
return 0;
}