提交记录 16228
| 提交时间 |
评测时间 |
| 2021-05-28 20:50:57 |
2021-05-28 20:50:58 |
#define S __builtin_scanf(
#define P __builtin_printf(
#define getint()asm(\
" movl $48,%ebx\n"\
" call getchar\n"\
" xorl %ebx,%eax\n"\
" movl %eax,%esi\n"\
" call getchar\n"\
" cmp %eax,%ebx\n"\
" jg 1f\n"\
"0: movl %esi,%ecx\n"\
" sall $2,%esi\n"\
" addl %ecx,%esi\n"\
" addl %esi,%esi\n"\
" xorl %ebx,%eax\n"\
" addl %eax,%esi\n"\
" call getchar\n"\
" cmp %eax,%ebx\n"\
" jbe 0b\n"\
" 1:");
int a,b;
main(){
getint()
asm("movl %esi,a");
getint()
asm("movl %esi,b");
P"%d",a+b);
}
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 8.25 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-03-19 13:20:40 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠