2803: 整数的个数(C语言,数组解法) 摘要: #include int main() { int n; scanf("%d",&n); int a[n]; int i; for(i=0;i…… 题解列表 2023年07月07日 0 点赞 0 评论 370 浏览 评分:9.9
用java进行的尝试 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class tina{ public static void main(String[] args)…… 题解列表 2023年08月01日 0 点赞 0 评论 214 浏览 评分:9.9
整数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int n,a,one=0,five=0,ten=0…… 题解列表 2023年07月08日 0 点赞 0 评论 177 浏览 评分:9.9
编写题解 2803: 整数的个数 摘要:解题思路:注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k,sum1=0,sum5=0,sum10=…… 题解列表 2024年06月30日 0 点赞 0 评论 288 浏览 评分:9.9
c语言 小白也能看懂 摘要:解题思路:分别设置1,5,10的计数器,每输入一个数,判断是否是1、5、10,如果是,相应的计数器加一注意事项:无参考代码:#include<stdio.h>int main(){ int k,…… 题解列表 2022年11月20日 0 点赞 0 评论 323 浏览 评分:9.3
题解 2803: 整数的个数(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,k,i,j=0,y=0,z=0; scanf("%d",&k); for(i=1;i<=k;i++)…… 题解列表 2022年11月14日 0 点赞 0 评论 411 浏览 评分:8.7
整数的个数 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b,c=0,d=0,e=0; cin>>a; …… 题解列表 2023年12月04日 0 点赞 0 评论 145 浏览 评分:6.5
ddddgggggggggggggggggggggggggggcb 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int k,sum1=0 ,sum5=0,sum10=…… 题解列表 2024年06月30日 0 点赞 0 评论 142 浏览 评分:0.0
2803: 整数的个数 摘要:解题思路:注意事项:定义变量后要赋值参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k,sum1=0,sum5=…… 题解列表 2024年06月30日 0 点赞 0 评论 97 浏览 评分:0.0
2803: 整数的个数 摘要:解题思路:注意事项:别忘给sum赋值参考代码:#include <bits/stdc++.h>using namespace std;int main(){ int k,sum1=0,sum5=0…… 题解列表 2024年06月30日 0 点赞 0 评论 78 浏览 评分:0.0