字节8.9笔试第一题 第一题我的思路是用双指针表示一个区间,然后把区间内的字符放到multiset内,区间大小就是数量最多的字符的个数+m. 自己测试的十几个数据都过了,为啥提交以后是0%? 有没有大佬帮忙看一下。 #include <iostream> #include <bits/stdc++.h> using namespace std; int main() { int m, n; string str; char* _begin; char* _end; multiset<char> ms; ...