Cod sursa(job #2295288)
Utilizator | Data | 3 decembrie 2018 14:57:15 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp-64 | Status | done |
Runda | Arhiva de probleme | Marime | 0.31 kb |
#include <fstream>
using namespace std;
ifstream fin("adunare.in");
ofstream fout("adunare.out");
int main() {
int a, b, ans;
fin >> a >> b;
fin.close();
_asm {
mov eax, a;
mov ebx, b;
add eax, ebx;
mov ans, eax;
}
fout << ans << "\n";
fout.close();
//system("pause");
return 1;
}