题解 2002: 计算数字个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h> int main() { char arr[100]; //定义一个数组,用来存储字符串 int i,j=0…… 题解列表 2022年03月03日 0 点赞 0 评论 310 浏览 评分:0.0
题解 2002: 计算数字个数 通俗易懂 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){char a[100];int i,n,j=0;gets(a);n=str…… 题解列表 2022年02月15日 0 点赞 0 评论 161 浏览 评分:0.0
计算数字个数-题解(C++代码) 摘要:#include<iostream> using namespace std; const int N = 10010; char c[N]; //定义一…… 题解列表 2022年01月28日 0 点赞 0 评论 112 浏览 评分:0.0
2002: 计算数字个数 摘要:#include<bits/stdc++.h> using namespace std; int main(){ string s; getline(cin,s); …… 题解列表 2021年12月26日 0 点赞 0 评论 177 浏览 评分:0.0
编写题解 2002: 计算数字个数 python 摘要:解题思路:无注意事项:使用了try参考代码:s = input() flag = 0 for i in range(len(s)): try: if int(s[i])…… 题解列表 2021年04月24日 0 点赞 0 评论 211 浏览 评分:0.0
编写题解 2002: 计算数字个数 摘要:解题思路:注意事项:参考代码:x = input() count=0 for i in x: if i>='0': if i<='9':…… 题解列表 2021年04月04日 0 点赞 0 评论 386 浏览 评分:0.0
计算数字个数-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<ctype.h> int main() { char s[100], i = 0,j = 0; …… 题解列表 2021年01月10日 0 点赞 0 评论 288 浏览 评分:0.0
计算数字个数-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main() { char a[100]; gets(a); int n,i,m=0; n …… 题解列表 2020年12月21日 0 点赞 0 评论 265 浏览 评分:0.0
计算数字个数-题解(C++代码) string 摘要:一个字符串判断 char 或者 string 都可以 ```cpp #include using namespace std; int main() { //fr…… 题解列表 2019年06月11日 0 点赞 0 评论 634 浏览 评分:0.0
计算数字个数-题解(C++代码) 摘要:```cpp #include using namespace std; int main(){ string s; cin>>s; int len=s.size(…… 题解列表 2020年04月24日 0 点赞 0 评论 430 浏览 评分:0.0