各位大佬能帮忙看看哪里有问题吗?我把我的思路写在注释里了 第一题 //18.33% #include<bits/stdc++.h> using namespace std; bool pd(string s) { //判断字符串是否有 1-6 中的重复数字 int a[6] = {0}; for (auto c: s) { ++a[c - '1']; if (a[c - '1'] > 1) { return false; } } return true; }...