题解 2829: 数1的个数

来看看其他人写的题解吧!要先自己动手做才会有提高哦! 
返回题目 | 我来写题解

筛选

编写题解 2829: 数1的个数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long n,sum=0;    cin>……

题解 2829: 数1的个数

摘要:解题思路:分离数位注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long n,sum=0;    ……

2829: 数1的个数

摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){    long long n,sum = 0;    ci……

2829: 数1的个数

摘要:解题思路:注意事项:参考代码:public class Main {    public static void main(String[] args) {Scanner sc = new Scann……

(c语言)详细解读

摘要:解题思路:注意事项: 参考代码:#include"stdio.h"int main(){    int num=0,n=0,Num=0;    scanf("%d",&num);    for(;nu……