提交记录 16955


用户 题目 状态 得分 用时 内存 语言 代码长度
user1 1003. 测测你的二分查找 Wrong Answer 0 284.4 us 8 KB C++ 162 B
提交时间 评测时间
2021-11-12 17:15:30 2021-11-12 17:15:32
#include <stdlib.h>
int binary_search(const unsigned *a, int n, unsigned x)
{
	for(int i = 0; i < n; i+=100000)
		if(a[i] == x)
			return i;
	return exit(9),0;
}

CompilationN/AN/ACompile OKScore: N/A

Testcase #1284.4 us8 KBWrong AnswerScore: 0


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