1012: [编程入门]字符串分类统计 摘要:import java.io.*; public class Main { public static BufferedReader in = new BufferedReader(n…… 题解列表 2021年12月10日 0 点赞 0 评论 206 浏览 评分:0.0
if~else if处理和正则表达式处理 摘要:解题思路:首先可以想到将字符串转化为字符数组,再用if~else if判断统计。再次思考可以想到能用正则表达式来匹配字符串中的字符类型。注意事项:字符串类型输入需要使用nextLine(),因为输入字…… 题解列表 2022年01月22日 0 点赞 0 评论 726 浏览 评分:0.0
1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> int main(){ char str[200]; int i; …… 题解列表 2022年02月13日 0 点赞 0 评论 106 浏览 评分:0.0
1012题解解题思路:利用 if 句型,进行筛选。建一个变量做计算器,最后回车的时候做把统计的打出来(英文字母 数字 空格 其他符号) 注意事项:变量类型为 char !!! 在 for 循环进入 摘要: 参考代码: #include int main (void){ int a=0;//控制for循环的 int e=0;//英语字母 int n=0;//数字 …… 题解列表 2022年02月14日 0 点赞 0 评论 287 浏览 评分:0.0
[编程入门]字符串分类统计 摘要:##[编程入门]字符串分类统计 ```c #include #include int main() { char s[201]; int i,c1=0,c2=0,c3=0,c4=0;…… 题解列表 2022年03月17日 0 点赞 0 评论 219 浏览 评分:0.0
刷题记录(头秃第n天) 摘要:解题思路:gets puts函数的使用 解决scanf不能输入空格问题注意事项:参考代码:#include<string.h>#include<stdio.h>#include<stdlib.h>…… 题解列表 2022年03月21日 0 点赞 0 评论 189 浏览 评分:0.0
字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){char a[200];int i,z=0,s=0,k=0,q=0;gets(…… 题解列表 2022年04月26日 0 点赞 0 评论 219 浏览 评分:0.0
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:a=[] b=[] c=[] d=[] s=input('') for i in s: if (i >='a' and…… 题解列表 2022年05月05日 0 点赞 0 评论 228 浏览 评分:0.0
[编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){char c;int q=0,w=0,e=0,r=0;while((c=getchar())!='\n&#…… 题解列表 2022年05月06日 0 点赞 0 评论 180 浏览 评分:0.0
[编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;long long yw,sz,kg,qt;int main(){…… 题解列表 2022年05月07日 0 点赞 0 评论 265 浏览 评分:0.0