C语言训练-数字母 (C++代码)简单点 摘要:解题思路: 就这样把,直接判断好了。参考代码:#include<iostream> #include<string.h> using namespace std; int main() …… 题解列表 2018年11月27日 0 点赞 0 评论 1136 浏览 评分:9.9
C语言训练-数字母(简单C++) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { char s[88]; int i=0…… 题解列表 2022年10月26日 0 点赞 0 评论 188 浏览 评分:9.9
1130: C语言训练-数字母 摘要:```cpp #include #include using namespace std; int main() { short s=0; char ch[100]; …… 题解列表 2022年09月22日 0 点赞 0 评论 344 浏览 评分:9.9
P1130,朴实无华解法 摘要:解题思路:用字符数组表示字符串,输入字符串后,遍历字符数组,比较字符大小,另定义sum用来统计个数注意事项:非万能头选手记得加上STRLEN所在头文件<string>参考代码:#include<bit…… 题解列表 2022年02月12日 0 点赞 0 评论 299 浏览 评分:9.9
C语言训练-数字母 (C++代码) 摘要:#include<iostream> using namespace std; int main() { char word[100]; int count=0,i=0; cin.g…… 题解列表 2019年05月09日 0 点赞 2 评论 1393 浏览 评分:9.9
C语言训练-数字母-题解(C++代码) 摘要:```cpp #include using namespace std; int main() { int ans = 0; string s(100,'0'); cin >…… 题解列表 2020年05月02日 0 点赞 0 评论 1551 浏览 评分:8.9
C语言训练-数字母 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;string s;int yw;int main(){ getline(cin…… 题解列表 2022年05月10日 0 点赞 0 评论 151 浏览 评分:0.0
1130数数字(for循环遍历) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstring>using namespace std;int main(){ char s[100]; cin >…… 题解列表 2024年06月13日 0 点赞 0 评论 368 浏览 评分:0.0
C语言训练-数字母 摘要:**思路:** 如果参数是字母,`isalpha`函数返回true。 `isalpha`函数原型在`cctype`中。 `'\0'`是字符串的结尾 **代码:** ```c++ #incl…… 题解列表 2023年10月15日 0 点赞 0 评论 151 浏览 评分:0.0
编写题解 1130: C语言训练-数字母 摘要:解题思路:注意事项:参考代码:#include <iostream>#include <cstring>#include <algorithm>using namespace std;const in…… 题解列表 2023年04月23日 0 点赞 0 评论 141 浏览 评分:0.0