摘要: B:数字配对 考察:map容器的应用 #include <iostream> #include <algorithm> #include <map> using namespace std; int n; map<int, int> mp; int main() { cin >> n; for(in 阅读全文
posted @ 2024-03-21 20:06 GeekDragon 阅读(3) 评论(0) 推荐(0) 编辑
摘要: A:连续字母 #include <iostream> #include <string.h> #include <algorithm> using namespace std; const int N = 110; int n; char str[N]; int main() { cin >> n; 阅读全文
posted @ 2024-03-21 11:16 GeekDragon 阅读(4) 评论(0) 推荐(0) 编辑