#626. 二分查找
二分查找
第一行 n 与待查值 x,第二行 n 个升序整数。若 x 存在输出它的下标(从 1 开始),否则输出 0。
第一行 n 与待查值 x,第二行 n 个升序整数。若 x 存在输出它的下标(从 1 开始),否则输出 0。
By signing up a YSSSN universal account, you can submit code and join discussions in all online judging services provided by us.