与指定数字相同的数的个数 摘要:解题思路:注意事项:参考代码:#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 评论 761 浏览 评分:4.9
在VScode上运行结果完全正确,在这里只有69分,有大神解释一下吗? 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n; scanf("%d",&n); int i,j; int arr[n][n…… 题解列表 2022年11月03日 0 点赞 0 评论 374 浏览 评分:0.0
敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100000]={0}; long long b,i; a[99999]=1; …… 题解列表 2022年11月03日 0 点赞 0 评论 412 浏览 评分:0.0
你有见过这么帅又这么干练的未来it人才吗 摘要:解题思路:利用二维数组输入矩阵,再求和注意事项:我很帅参考代码:#include<stdio.h>int main(){int a[3][3];int i,j;for(i=0;i<3;i++)for(…… 题解列表 2022年11月03日 0 点赞 0 评论 315 浏览 评分:2.0
2765 计算分数的浮点数值 摘要:解题思路:注意事项:double参考代码:#include<stdio.h>int main(){ double a; double b; scanf("%lf %lf", &a, &b); prin…… 题解列表 2022年11月03日 0 点赞 0 评论 762 浏览 评分:8.0
使用while循环 摘要:参考代码:#include<bits/stdc++.h>using namespace std;int huiwen(int i){ int k; k=i; int t,s=0; …… 题解列表 2022年11月03日 0 点赞 0 评论 380 浏览 评分:9.9
1072-嵌套循环求解 摘要:解题思路:#创建两个变量分别记录空瓶子数和兑换汽水数 #使用循环体实现对多个数据的接收 #注意计算每次进行兑换后剩余空瓶子数注意事项:sum每次输出后要重新归零n=2时便只能再兑换最后一瓶参考代码…… 题解列表 2022年11月03日 0 点赞 0 评论 274 浏览 评分:0.0
A+B for Input-Output Practice (V)(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],n,i,j=0,sum,m; scanf("%d",&m); while(…… 题解列表 2022年11月03日 0 点赞 0 评论 307 浏览 评分:0.0
A+B for Input-Output Practice (VI)(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],n,i,j=0,sum; while(scanf("%d",&n)!=EOF) …… 题解列表 2022年11月03日 0 点赞 0 评论 294 浏览 评分:0.0
A+B for Input-Output Practice (VII)(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d %d",&a,&b)!=EOF) { …… 题解列表 2022年11月03日 0 点赞 0 评论 373 浏览 评分:0.0