摘要: 哈希表 我用的拉链法。 #include <iostream> #include <cstring> #include <algorithm> #include <vector> using namespace std; int N = 100003; vector<int> H[100003]; 阅读全文
posted @ 2025-08-02 20:54 .N1nEmAn 阅读(9) 评论(0) 推荐(0)
摘要: 堆排序 推荐:https://www.acwing.com/solution/content/120483/ #include <iostream> #include <cstring> #include <algorithm> using namespace std; int A[100100], 阅读全文
posted @ 2025-08-02 19:05 .N1nEmAn 阅读(6) 评论(0) 推荐(0)