2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:s = input() c = 0 for i in s: if i.isdigit(): c += 1 print(c)…… 题解列表 2024年08月01日 0 点赞 0 评论 978 浏览 评分:0.0
统计数字字符 摘要:解题思路:0-9 10个数注意事项:参考代码:s=input()b=0for i in range(0,10): cn=s.count(str(i)) b+=cnprint(b)…… 题解列表 2024年01月23日 0 点赞 0 评论 253 浏览 评分:0.0
统计数字字符个数java 摘要:解题思路:注意事项:参考代码:package arrLast; //题目 2846: 统计数字字符个数 import java.util.Scanner; public class t_2846…… 题解列表 2024年02月06日 0 点赞 0 评论 336 浏览 评分:0.0
2846: 统计数字字符个数 摘要:参考代码:s = input() sum = 0 for i in s: if i.isdigit(): sum += 1 print(sum)…… 题解列表 2024年03月23日 0 点赞 0 评论 673 浏览 评分:0.0
解 2846: 统计数字字符 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;char a[1005];int main(){ int sum=0; cin.g…… 题解列表 2024年07月11日 0 点赞 0 评论 282 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e5;char a[N];int main(){ …… 题解列表 2024年07月11日 0 点赞 0 评论 370 浏览 评分:0.0
2846: 统计数字字符个数 摘要:```cpp #include using namespace std; typedef long long ll; const int N=1e5; char a[N]; int ma…… 题解列表 2024年07月12日 0 点赞 0 评论 326 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string s…… 题解列表 2024年07月13日 0 点赞 0 评论 351 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ch…… 题解列表 2024年07月18日 0 点赞 0 评论 568 浏览 评分:0.0
2025/8/11刷题记录 摘要:解题思路:输入有空格就不能用scanf注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ &nbs…… 题解列表 2025年08月11日 0 点赞 0 评论 151 浏览 评分:0.0