Cod sursa(job #1059854)
Utilizator | Data | 17 decembrie 2013 03:44:33 | |
---|---|---|---|
Problema | A+B | Scor | 0 |
Compilator | cpp | Status | done |
Runda | Arhiva de probleme | Marime | 0.31 kb |
#include <stdio.h>
#include <fstream>
using namespace std;
int main()
{
int a, b;
ifstream in("adunare.in");
ofstream out("adunare.out");
in >> a >> b;
int total;
__asm__ ( "addl %%ebx, %%eax;" : "=" (total) : "a" (a) , "b" (b) );
out << total;
return 0;
}