摘要: 散列法: #include <cstdio> #include <iostream> #include <string.h> using namespace std; const int N = 100010, null = 0x3f3f3f3f; int h[N], e[N], ne[N], id 阅读全文
posted @ 2020-04-13 23:49 龙雪可可 阅读(113) 评论(0) 推荐(0)
摘要: 堆: #include <cstdio> #include <iostream> using namespace std; const int N = 100010; int n,m,h[N],s; void down(int u) { int t = u; if(u * 2 <= s && h[u 阅读全文
posted @ 2020-04-13 17:51 龙雪可可 阅读(159) 评论(0) 推荐(0)
****************************************** 页脚Html代码 ******************************************