<循环>整数的个数(C语言) 摘要:#include<stdio.h> int main() { int k,arr[100],c1=0,c2=0,c3=0; scanf("%d", &k); for (int i = …… 题解列表 2023年02月12日 0 点赞 0 评论 126 浏览 评分:0.0
2803: 整数的个数 摘要:解题思路:注意事项:参考代码:n=int(input())a=list(map(int,input().split()))print(a.count(1))print(a.count(5))print…… 题解列表 2023年02月11日 0 点赞 0 评论 245 浏览 评分:9.9
2803: 整数的个数 摘要:解题思路:注意事项:参考代码:a1 = a5 = a10 = 0k = int(input())l = list(map(int,input().split()))for i in l: if …… 题解列表 2023年02月06日 0 点赞 0 评论 291 浏览 评分:9.9
整数的个数 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int k,a,i;/*b为1出现的次数*/ int b=0; int c=0; int d=0; scan…… 题解列表 2023年02月03日 0 点赞 0 评论 137 浏览 评分:0.0
整数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,b=0,c=0,d=0,i; int a[100]; scanf("%…… 题解列表 2023年01月13日 0 点赞 0 评论 92 浏览 评分:0.0
有错误请指出 摘要:解题思路:switch 选择注意事项:参考代码:#include <stdio.h>int main(){ int a,b=0,c=0,d=0,n; scanf("%d",&n); in…… 题解列表 2022年12月20日 0 点赞 0 评论 353 浏览 评分:9.9
c语言 小白也能看懂 摘要:解题思路:分别设置1,5,10的计数器,每输入一个数,判断是否是1、5、10,如果是,相应的计数器加一注意事项:无参考代码:#include<stdio.h>int main(){ int k,…… 题解列表 2022年11月20日 0 点赞 0 评论 322 浏览 评分: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 评论 409 浏览 评分:8.7