- 博客(1)
- 收藏
- 关注
原创 PAT (Basic Level) Practice (中文)1108 String复读机
//题目:将字符按String顺序输出 多余字符忽略//思路:先获取到每种字母的数量,然后得到最大值之后进行输出控制#include <iostream>using namespace std;int main(){ string str; cin >> str; int len = str.length(); int S_count = 0, i_count = 0, r_count = 0, n_count = 0, g_count = 0, t_c...
2022-01-19 08:56:16 177
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人