编写题解 1012: [编程入门]字符串分类统计python 摘要:解题思路:注意事项:参考代码:m=input()a,b,c,d=0,0,0,0if len(m)<200: for i in m: &nbs…… 题解列表 2025年01月06日 1 点赞 0 评论 806 浏览 评分:0.0
不使用数组,利用getchar函数进行解题 摘要:#######includeint main(){ int a=0,b=0,c=0,d=0; char ch; while((ch=getchar())!='\n') { …… 题解列表 2025年02月05日 6 点赞 1 评论 1227 浏览 评分:2.0
C语言简单解法 摘要:解题思路:使用fgets来读取字符串,用fgets+strcspn()处理换行 符代替gets()可以避免gets()带来的安全风险。注意事项:注意,fgets()读取后会…… 题解列表 2025年02月25日 2 点赞 0 评论 1428 浏览 评分:10.0
[编程入门]字符串分类统计 摘要:```c#include int main() { char s[201]; scanf("%[^\n]",s); int i=0; int abc…… 题解列表 2025年03月09日 12 点赞 0 评论 2024 浏览 评分:10.0
编写题解 1012: [编程入门]字符串分类统计 摘要: #include #include #include #include #include using namespace std;…… 题解列表 2025年04月03日 5 点赞 0 评论 1132 浏览 评分:10.0
T1012 字符串分类统计 摘要:解题思路:注意事项:参考代码:s=input()a,b,c,d=0,0,0,0for i in s:if i.isalpha(): a=a+1 …… 题解列表 2025年05月02日 2 点赞 0 评论 900 浏览 评分:0.0
用标准库函数进行字符串分类 摘要:如下```#include #include using namespace std;int main(){ string input; getli…… 题解列表 2025年10月18日 0 点赞 0 评论 399 浏览 评分:0.0