binary-search
所属分类:数据库编程
开发工具:Visual C++
文件大小:1KB
下载次数:1
上传日期:2015-09-22 13:20:54
上 传 者:
nzdw
说明: 给定一组含有n个整数的有序数列A={a1,a2,...,an},接下来有k个数{b1,b2,...,bk},查询每个 bi是否在之前给定的数列A中出现,出现输出y,否则输出n。
(Given n integers+ k integers, search if each of the k integers exist in the n integers, if it does, output y , if not output n )
文件列表:
query.cpp (1228, 2015-09-22)
Input: n a1 a2 ... an k b1 b2 ... bk
其中n、k、ai、bi均为整型。0
近期下载者:
相关文件:
收藏者: