提交记录 14686


用户 题目 状态 得分 用时 内存 语言 代码长度
shq 1000. 测测你的 A+B Accepted 100 5.38 us 12 KB C++ 201 B
提交时间 评测时间
2020-10-30 22:01:00 2020-10-30 22:01:02
int plus(int a,int b){
	asm(
		"movl	%1, %%eax\n"
		"movl	%2, %%ebx\n"
		"addl	%%eax, %%ebx\n"
		"movl	%%ebx, %0\n"
		:
		"=r"(a) // %0
		:
		"r"(a), "r"(b)   // %1 %2
		:"%eax","%ebx"
	);
	return a;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #15.38 us12 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2026-03-22 02:28:38 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠