摘要:
预备知识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 阅读全文
摘要:
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是 阅读全文