Cod sursa(job #1450103)
Utilizator | Data | 11 iunie 2015 13:54:22 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.22 kb |
#include<fstream>
using namespace std;
int main()
{
ifstream in("adunare.in");
ofstream out("adunare.out");
int a,b,s;
in>>a>>b;
_asm
{
mov eax,[a]
add eax,b
mov s,eax
}
out<<s;
return 0;
}