Cod sursa(job #1059850)

Utilizator NCodeMihai X NCode Data 17 decembrie 2013 02:27:10
Problema A+B Scor 0
Compilator cpp Status done
Runda Arhiva de probleme Marime 0.3 kb
#include <stdio.h>
#include <fstream>
//#include <iostream>
using namespace std;

int main()
{

  int a, b;
  ifstream in("adunare.in");
  ofstream out("adunare.out");

  in >> a >> b;


  __asm
  {
    mov eax, a
      add eax, b
      mov b, eax
  }

  out << b;

  return 0;
}