[编程入门]字符串分类统计[Python代码详解] 摘要:参考代码:a=input() #将数据输入b=0 #用于储存数据c=0 #用于储存数据d=0 …… 题解列表 2021年12月15日 0 点赞 2 评论 665 浏览 评分:8.9
1012: [编程入门]字符串分类统计 摘要:import java.io.*; public class Main { public static BufferedReader in = new BufferedReader(n…… 题解列表 2021年12月10日 0 点赞 0 评论 189 浏览 评分:0.0
字符判断(C语言) 摘要:解题思路:看到字符读取,很容易想到c语言读取字符用的getcher(),利用字符所代表的ascll码判断字符类型并计数完成习题。注意事项:ascll码别弄错参考代码:…… 题解列表 2021年11月27日 0 点赞 0 评论 205 浏览 评分:0.0
字符串分类统计 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main() {int a=0,b=0,c=0,d=0;char ch;while((ch=getchar())!='…… 题解列表 2021年11月15日 0 点赞 1 评论 239 浏览 评分:9.9
1012,好懂的方法 摘要:解题思路:注意事项:参考代码: #include<stdio.h>int main(){ char a; int b=0,c=0,d=0,e=0,f=0; a=getchar(); while(a!=…… 题解列表 2021年11月10日 0 点赞 0 评论 237 浏览 评分:0.0
编程入门]字符串分类统计 摘要:解题思路:#include <stdio.h>#include <ctype.h>int main(){ int letter = 0,number = 0,blank = 0,others =…… 题解列表 2021年11月10日 0 点赞 0 评论 316 浏览 评分:0.0
1012 又学到了不少 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <ctype.h>int main(){ int i=0,j=0,x=0,y=0,c; …… 题解列表 2021年11月07日 0 点赞 0 评论 178 浏览 评分:9.9
字符串分类统计基础解法 摘要:解题思路:先输入字符串,然后统计英文字母、数字、空格、剩下的就是其他字符了。注意事项:注意字符要用单引号。要用与字符串有关的#include<stdio.h>.字符串最后有'\0',判…… 题解列表 2021年11月02日 0 点赞 0 评论 503 浏览 评分:9.9
编写题解 1012: [编程入门]字符串分类统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[200]; int i; int c=0,v=0,b=0,n=0; for(i=0;i<=20…… 题解列表 2021年10月22日 0 点赞 0 评论 452 浏览 评分:9.9
[编程入门]字符串分类统计,正则4行代码解题思路 摘要:解题思路:利用正则进行匹配注意事项:其他符号由于不好匹配,可采用整个字符串长度减去已知进行求算参考代码:import re strings = input() m, n, p = (len(re.…… 题解列表 2021年10月13日 0 点赞 0 评论 344 浏览 评分:6.0