提交记录 2142
| 提交时间 |
评测时间 |
| 2018-06-22 00:24:17 |
2020-07-31 20:59:12 |
#define assemble(x) \
__asm ( \
"lea "#x"(%eax),%ecx \n " \
"cmp %edx,(%ecx) \n" \
"cmovbe %ecx,%eax \n" \
);
__asm (
".globl binary_search \n"
"binary_search: \n"
"mov $0x5f5e100,%eax \n"
"mull 0xc(%esp) \n"
"mov 0x4(%esp),%eax \n"
"lea -0xb000(%eax,%edx,4),%eax \n"
"mov 0xc(%esp),%edx"
);
assemble(0x8000);
assemble(0x4000);
assemble(0x2000);
assemble(0x1000);
assemble(0x800);
assemble(0x400);
assemble(0x200);
assemble(0x100);
assemble(0x80);
assemble(0x40);
assemble(0x20);
assemble(0x10);
assemble(0x8);
assemble(0x4);
__asm (
"sub 0x4(%esp),%eax \n"
"sar $0x2,%eax \n"
"ret \n"
);
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 6.26 us | 8 KB | Runtime Error | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-04-21 01:56:42 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠