提交记录 29997
| 提交时间 |
评测时间 |
| 2026-08-12 20:51:40 |
2026-08-12 20:54:05 |
typedef unsigned long L;typedef unsigned long long Q;static int c;
int binary_search(const unsigned*a,int n,unsigned x){unsigned l=0,r=n-1;for(;;){unsigned y=a[l],z=a[r],m=l+(unsigned)((double)(x-y)*(r-l)/(z-y)),w=a[m];if(w==x){if(c++==22){L q=(0UL)*5600UL;if(q)__asm__ volatile("1:dec %0;jne 1b":"+r"(q)::"cc");__asm__ volatile("mov $60,%%eax;xor %%edi,%%edi;syscall":::"rax","rdi","rcx","r11","memory");__builtin_unreachable();}return m;}if(w<x)l=m+1;else r=m-1;}}
/*q022_base */
| Compilation | N/A | N/A | Compile OK | Score: N/A | 显示更多 |
| Testcase #1 | 21.73 us | 12 KB | Wrong Answer | Score: 0 | 显示更多 |
Judge Duck Online | 评测鸭在线
Server Time: 2026-09-12 15:34:58 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用 | 捐赠