提交记录 824


用户 题目 状态 得分 用时 内存 语言 代码长度
Kirin 1003. 测测你的二分查找 Time Limit Exceeded 0 1 ms 8 KB C 175 B
提交时间 评测时间
2018-06-20 17:03:00 2020-07-31 20:43:20
int binary_search(const unsigned *a, int n, unsigned x){
	register int l=0,r=n-1;
	while(l<=r){
		register int mid=(l+r)>>1;
		a[mid]<=x ? (r=mid+1):(l=mid-1);
	}
	return l;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #11 ms8 KBTime Limit ExceededScore: 0


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