1035: [编程入门]自定义函数之字符类型统计 摘要:```cpp #include int zimu=0,num=0,kong=0,other=0,i; int main() { char s[1000]; gets(s); int…… 题解列表 2022年12月06日 0 点赞 0 评论 247 浏览 评分:9.9
自定义函数之字符类型统计 摘要://// Created by Administrator on 2022/10/26.//#include<iostream>#include<algorithm>#include<string>u…… 题解列表 2022年10月26日 0 点赞 0 评论 189 浏览 评分:0.0
自定义函数之字符类型统计 摘要: #include #include using namespace std; void fun(char a[]) { int …… 题解列表 2022年10月11日 0 点赞 0 评论 142 浏览 评分:0.0
1035: [编程入门]自定义函数之字符类型统计 摘要:解题思路:淦,还是面向结果编程简单,我这是自讨苦吃 主要还是先函数多传几个数 其实除了结构体,还可以用指针,数组。。。 不过,直接面向结果编,这道题就没必要写了注意事项:自定义函数 在主函数中…… 题解列表 2022年10月10日 0 点赞 0 评论 117 浏览 评分:9.9
1035-自定义函数之字符类型统计 语言:C++ 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;void count(string s){ int a=0,…… 题解列表 2022年10月05日 0 点赞 0 评论 134 浏览 评分:0.0
[编程入门]自定义函数之字符类型统计 摘要:解题思路:注意事项:参考代码:#include<iostream>#include <bits/stdc++.h> using namespace std;int main(){ char s[10…… 题解列表 2022年09月17日 0 点赞 0 评论 133 浏览 评分:0.0
1035: [编程入门]自定义函数之字符类型统计 摘要: ```cpp #include #include using namespace std; int main() { string str; int cn…… 题解列表 2022年08月06日 0 点赞 0 评论 394 浏览 评分:9.9
[编程入门]自定义函数之字符类型统计 摘要:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ int a=0,b=0,c=0,d=0,l; …… 题解列表 2022年08月05日 0 点赞 0 评论 383 浏览 评分:9.9
1035: [编程入门]自定义函数之字符类型统计 摘要:解题思路:简单来说,就是判断。注意事项:无参考代码:#include<bits/stdc++.h> using namespace std; #define max 1000 void prin…… 题解列表 2022年06月25日 0 点赞 0 评论 184 浏览 评分:9.9
[编程入门]自定义函数之字符类型统计 摘要:解题思路:因为有四种类型的字符需要统计,所以我们可以建立四个累加器来计算,同时运用for语句扫遍字符串,用if语句判断四种类型(islower(s[i])||isupper(s[i]),isdigit…… 题解列表 2022年05月08日 0 点赞 0 评论 265 浏览 评分:9.9