编写题解 1010: [编程入门]利润计算 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int a,b,c,d,f; char s[200]; a=…… 题解列表 2024年07月24日 0 点赞 0 评论 396 浏览 评分:0.0
字符串分类统计C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){char a[200];cin.get…… 题解列表 2024年08月07日 6 点赞 0 评论 1129 浏览 评分:0.0
字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <string.h> int main() { int letters = 0, digit…… 题解列表 2024年08月08日 1 点赞 0 评论 471 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>#include <string.h>int main(){ char str[100];…… 题解列表 2024年09月06日 1 点赞 0 评论 473 浏览 评分:0.0
用c语言解决字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() { char ch;int j,z,k,s; j=z=k=s=0; while((ch=getc…… 题解列表 2024年11月12日 1 点赞 0 评论 692 浏览 评分:0.0
编写题解 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 评论 992 浏览 评分:0.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 评论 1206 浏览 评分:0.0
用标准库函数进行字符串分类 摘要:如下```#include #include using namespace std;int main(){ string input; getli…… 题解列表 2025年10月18日 2 点赞 0 评论 790 浏览 评分:0.0
C语言最优解 摘要:#include#includeint main(){ char ch; int alpha=0; int blank=0; int digit=0…… 题解列表 2026年01月14日 0 点赞 0 评论 438 浏览 评分:0.0
在哪你都看得到我记住这句话 摘要:解题思路:这道题的思路是因为用ASCII解决,因为在ASCII表里数字在一个范围字母在一个范围,剩下的就是其他。所以我们只需要遍历一下这个字符串记录一下每个范围的值有多少就解决了参考代码:#inclu…… 题解列表 2026年03月19日 0 点赞 0 评论 780 浏览 评分:0.0