编写题解 2829: 数1的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,sum=0; cin>…… 题解列表 2024年02月27日 0 点赞 0 评论 151 浏览 评分:0.0
题解 2829: 数1的个数 摘要:解题思路:分离数位注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,sum=0; …… 题解列表 2024年01月19日 0 点赞 0 评论 85 浏览 评分:0.0
2829: 数1的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ long long n,sum = 0; ci…… 题解列表 2024年01月19日 0 点赞 0 评论 97 浏览 评分:0.0
2829: 数1的个数 摘要:解题思路:注意事项:参考代码:public class Main { public static void main(String[] args) {Scanner sc = new Scann…… 题解列表 2023年04月25日 0 点赞 0 评论 226 浏览 评分:0.0
while循环又来咯,这个还是除余思想 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,k=0; //k,1的个数 scanf("%d",&n); for(int …… 题解列表 2023年01月19日 0 点赞 0 评论 187 浏览 评分:0.0
(c语言)详细解读 摘要:解题思路:注意事项: 参考代码:#include"stdio.h"int main(){ int num=0,n=0,Num=0; scanf("%d",&num); for(;nu…… 题解列表 2023年01月03日 0 点赞 0 评论 268 浏览 评分:0.0