提交记录 6031


用户 题目 状态 得分 用时 内存 语言 代码长度
GhostCai 1000i. 【传统题】 A+B Problem Wrong Answer 0 44.11 us 36 KB C++11 340 B
提交时间 评测时间
2018-09-20 21:41:19 2020-08-01 00:38:00
#include <iostream>

#define concat(a, b) a##b
#define aaasm concat(as, m)

using namespace std;

int a, b, ans;

int main() {
    cin >> a >> b;

    aaasm("movl %0, %%eax" : : "m"(a));
    aaasm("movl %0, %%ebx" : : "m"(b));
    aaasm("addl %ebx, %eax");
    aaasm("movl %%eax, %0" : "=m"(ans));

    cout << ans << endl;

    return 0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #144.11 us36 KBWrong AnswerScore: 0


Judge Duck Online | 评测鸭在线
Server Time: 2026-04-10 20:17:31 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠