模拟 #2911: 连续出现的字符
摘要:```
#include
#include
#include
#include
using namespace std;
int main() {
char str[1010]……
连续出现的字符 看一下题 想一下想 一遍过 这种思想要掌握
摘要:解题思路:遍历该位置后面n个字符注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; string s;//字……
连续出现的字符(简易版)
摘要:解题思路: 遍历字符串注意事项:参考代码:#include<iostream>#include <string>using namespace std;int main(){ int k; strin……
2911: 连续出现的字符
摘要:```cpp
#include
#include
using namespace std;
int main()
{
int k,s=0;
char ch[100000]……