提交记录 5290


用户 题目 状态 得分 用时 内存 语言 代码长度
hqztrue 1003. 测测你的二分查找 Accepted 100 320.5 us 12 KB C++ 159 B
提交时间 评测时间
2018-08-15 20:05:21 2020-08-01 00:15:04
#include <algorithm>

__attribute__((optimize("O2")))

int binary_search(const unsigned *a, int n, unsigned x)
{
	return std::lower_bound(a, a + n, x) - a;
}
	

CompilationN/AN/ACompile OKScore: N/A

Testcase #1320.5 us12 KBAcceptedScore: 100


Judge Duck Online | 评测鸭在线
Server Time: 2024-05-08 08:48:09 | Loaded in 1 ms | Server Status
个人娱乐项目,仅供学习交流使用