摘要:
#include<iostream>using namespace std; struct ListNode;typedef struct ListNode *Position;struct Hash_table;typedef Hash_table *Hashtab;typedef Positio 阅读全文
摘要:
#include<iostream>#include<vector>#include<algorithm>#include<string>using namespace std;int main(){ string word; while (cin >> word) { int word_lenth 阅读全文
摘要:
明明想在学校中请一些同学一起做一项问卷调查,为了实验的客观性,他先用计算机生成了N个1到1000之间的随机整数(N≤1000),对于其中重复的数字,只保留一个,把其余相同的数去掉,不同的数对应着不同的学生的学号。然后再把这些数从小到大排序,按照排好的顺序去找同学做调查。请你协助明明完成“去重”与“排 阅读全文