提交记录 2638


用户 题目 状态 得分 用时 内存 语言 代码长度
ccz181078 1000. 测测你的 A+B Accepted 100 4.98 us 12 KB C++11 175 B
提交时间 评测时间
2018-06-28 12:55:28 2020-07-31 21:05:05
int plus(int a,int b){
	int c;
	asm volatile(R"(
		movl %[a],%%eax
		addl %[b],%%eax
		movl %%eax,%[c]
	)"
	:[c]"=r"(c)
	:[a]"r"(a),[b]"r"(b)
	:"memory","eax"
	);
	return c;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #14.98 us12 KBAcceptedScore: 100


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