2846: 统计数字字符个数 摘要:解题思路:注意事项:要输入字符0到字符9参考代码:#include <bits/stdc++.h>using namespace std;char s[100000];int main(){ i…… 题解列表 2023年10月28日 0 点赞 0 评论 210 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;const int N=1e5;char a[N];int main(){ …… 题解列表 2024年07月11日 0 点赞 0 评论 365 浏览 评分: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 评论 322 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){ string s…… 题解列表 2024年07月13日 0 点赞 0 评论 349 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;typedef long long ll;const int N = 1e7;ch…… 题解列表 2024年07月18日 0 点赞 0 评论 563 浏览 评分:0.0
优质题解,回归真神的初始途径 摘要:解题思路:注意事项:参考代码:chuan=input()j=0for fu in chuan: if fu.isdigit(): j+=1print(j)…… 题解列表 2024年07月25日 0 点赞 0 评论 710 浏览 评分:0.0
2846: 统计数字字符个数 摘要:解题思路:注意事项:参考代码:s = input() c = 0 for i in s: if i.isdigit(): c += 1 print(c)…… 题解列表 2024年08月01日 0 点赞 0 评论 968 浏览 评分:0.0
2025/8/11刷题记录 摘要:解题思路:输入有空格就不能用scanf注意事项:参考代码:#include <stdio.h>#include <string.h>int main(){ &nbs…… 题解列表 2025年08月11日 0 点赞 0 评论 134 浏览 评分:0.0
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s 摘要:### 这里必须要使用sc.nextLine(),因为字符串中可能包含有空格,导致不能满分 ``` import java.util.Scanner; public class Main {…… 题解列表 2023年08月08日 0 点赞 0 评论 163 浏览 评分:0.0
统计数字字符个数 摘要:、解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int i,n=0; char a[255]; …… 题解列表 2022年12月30日 0 点赞 0 评论 391 浏览 评分:0.0