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