摘要: Problem Description 给定n(1using namespace std;const int maxn = 100001;struct node{ int *elem; int len;};void Creatlist(struct nod... 阅读全文
posted @ 2018-09-05 15:24 Mercury_Lc 阅读(128) 评论(0) 推荐(0)
摘要: Problem Description 给定n(1using namespace std;const int maxn = 100001;struct node{ int *elem; int len;};void Creatlist(struct nod... 阅读全文
posted @ 2018-09-05 15:24 Mercury_Lc 阅读(164) 评论(0) 推荐(0)
摘要: Problem Description顺序表内按照由小到大的次序存放着n个互不相同的整数,任意输入一个整数,判断该整数在顺序表中是否存在。如果在顺序表中存在该整数,输出其在表中的序号;否则输出“No Found!"。Input 第一行输入整数n (1 using na... 阅读全文
posted @ 2018-09-05 14:17 Mercury_Lc 阅读(191) 评论(0) 推荐(0)
摘要: Problem Description顺序表内按照由小到大的次序存放着n个互不相同的整数,任意输入一个整数,判断该整数在顺序表中是否存在。如果在顺序表中存在该整数,输出其在表中的序号;否则输出“No Found!"。Input 第一行输入整数n (1 using na... 阅读全文
posted @ 2018-09-05 14:17 Mercury_Lc 阅读(144) 评论(0) 推荐(0)