摘要: 预备知识https://www.cnblogs.com/fx1998/p/12826831.html 当输入的数n较小时,直接开一个数组H 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N = 1 << 20; 4 //2 阅读全文
posted @ 2020-10-28 15:21 kyk333 阅读(121) 评论(0) 推荐(0)
摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int N = 100010; 4 typedef pair<string, int> PSI; 5 PSI a[N]; //存储n扇门的两个属性,first是操作方式,second是 阅读全文
posted @ 2020-10-28 10:11 kyk333 阅读(141) 评论(0) 推荐(0)