摘要: //整数的散列//m个数在n个数中是否出现过的散列 #include<cstdio> using namespace std; int const Maxn = 100010; bool hashTable[Maxn] = {false}; int main(){ int n,m,x;//x表示出现 阅读全文
posted @ 2020-05-19 21:05 王杰森 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1 #include <cstdio> 2 #include <cstring> 3 #include <algorithm>//这是sort函数所在的库 4 using namespace std; 5 struct Student{ 6 char id[15]; //id 7 int score 阅读全文
posted @ 2020-05-19 20:33 王杰森 阅读(121) 评论(0) 推荐(0) 编辑