C语言思路简单,易懂!!! 理解万岁 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main (){ int n,m,num=0; int a[1000]; scanf ("%d",&n); …… 题解列表 2023年10月25日 1 点赞 0 评论 308 浏览 评分:10.0
与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,m,t=0,a[100]; scanf("%d",&n); for(i=…… 题解列表 2022年12月30日 0 点赞 2 评论 1534 浏览 评分:8.2
输出一个整数序列中与指定数字相同的数的个数。 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,x,count=0,y; scanf("%d\n",&n); int a[n]; …… 题解列表 2024年04月21日 1 点赞 0 评论 621 浏览 评分:7.0
与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int N; scanf("%d",&N); int a[N]; for(int i=0;i<N;i++) s…… 题解列表 2022年11月03日 0 点赞 0 评论 762 浏览 评分:4.9
编写题解 2834: 与指定数字相同的数的个数 摘要:解题思路:for函数对比注意事项:有指针参考代码:#include<stdio.h>int main(){ int N,m,num = 0; scanf("%d",&a…… 题解列表 2026年02月02日 0 点赞 0 评论 20 浏览 评分:0.0
C语言简单方法 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#define m 1000int main(){ int N,a[m],i,c,n; scanf("%d&qu…… 题解列表 2025年12月09日 0 点赞 0 评论 154 浏览 评分:0.0
自己写的,可供参考 摘要:解题思路:直接看吧参考代码:#include<stdio.h>#include<stdlib.h>int main(){ int n; &…… 题解列表 2025年12月05日 0 点赞 0 评论 147 浏览 评分:0.0
2834:统计与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i; scanf("%d",&n);//n个数据 int a…… 题解列表 2025年10月30日 0 点赞 0 评论 232 浏览 评分:0.0
c语言 与指定数字相同的数的个数 摘要:解题思路:运用两个for第一个for记录所有整数到一个数组里,数组中a[0]我是不习惯用的,从a[1]开始算起,便于计算第二个for用来遍历所有整数,与目标值相同的就给变量+1注意事项:记得给初始值赋…… 题解列表 2025年10月08日 0 点赞 0 评论 265 浏览 评分:0.0
2025/8/7刷题记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,b,m; scanf("%…… 题解列表 2025年08月07日 0 点赞 0 评论 228 浏览 评分:0.0