1012题: 字符串分类统计
摘要:# 自己写的代码
```c
#include
#include
int main()
{
char a[100];
int b=0,c=0,d=0,e=0;
gets(a);……
[编程入门]字符串分类统计
摘要:一、解题思路:C参考代码:#include <stdio.h>
#include <string.h>
int main() {
char str[200];
int z = 0, s……
[编程入门]字符串分类统计
摘要:解题思路:注意事项:参考代码: #include <stdio.h> #include <string.h> /* 输入一行字符,分别统计出其中英文字母、数字、空格和其他字符的……
[编程入门]字符串分类统计
摘要:参考代码:#include<stdio.h>#include<string.h>#include<ctype.h>int main(){ char str[200]; int len,le……
1012: [编程入门]字符串分类统计
摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int b[4]={0,0,0,0}; char a[200]; for (int i = 0; i != 2……
字符串分类统计---正则表达式
摘要:解题思路: 我使用的正则表达式注意事项:参考代码:import java.util.Scanner;
public class Main {
public static void main(……
字符串分类统计----直接采用getchar()函数
摘要:解题思路:注意事项:参考代码:#include<iostream>
#include<string>
using namespace std;
int main()
{
int letter……