C语言 AC通过 摘要:include <stdio.h> #include <string.h> int main() { char input[1001]; scanf("%s", input);…… 题解列表 2023年11月05日 0 点赞 0 评论 684 浏览 评分:9.9
编写题解 2974: 统计字符数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N=1e5;stri…… 题解列表 2024年07月21日 0 点赞 0 评论 534 浏览 评分:9.9
2974: 统计字符数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>typedef long long ll;using namespace std;const int N=1e6;ll t…… 题解列表 2024年07月21日 0 点赞 0 评论 591 浏览 评分:9.9
题解,结构体数组解法 ```c#include#include#include#defineMAX1001//定义最大字符数组长度//定义一个结构体,用于存储字符及其出现次数typedefstruct{charch;//字符intcount;//出现次数}String;//比较函数, 题解列表 2024年11月05日 0 点赞 0 评论 565 浏览 评分:9.9