敲简单C语言代码!!! 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100000]={0}; long long b,i; a[99999]=1; …… 题解列表 2022年11月03日 0 点赞 0 评论 453 浏览 评分: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 评论 353 浏览 评分:2.0
2765 计算分数的浮点数值 摘要:解题思路:注意事项:double参考代码:#include<stdio.h>int main(){ double a; double b; scanf("%lf %lf", &a, &b); prin…… 题解列表 2022年11月03日 0 点赞 0 评论 804 浏览 评分: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 评论 439 浏览 评分:9.9
1072-嵌套循环求解 摘要:解题思路:#创建两个变量分别记录空瓶子数和兑换汽水数 #使用循环体实现对多个数据的接收 #注意计算每次进行兑换后剩余空瓶子数注意事项:sum每次输出后要重新归零n=2时便只能再兑换最后一瓶参考代码…… 题解列表 2022年11月03日 0 点赞 0 评论 313 浏览 评分: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 评论 355 浏览 评分: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 评论 342 浏览 评分: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 评论 429 浏览 评分:0.0
A+B for Input-Output Practice(c语言) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a[100],n,i,j=0,sum,m; scanf("%d",&m); while(…… 题解列表 2022年11月03日 0 点赞 0 评论 396 浏览 评分:0.0
自由落体距离计算(入门选手的多次摸索) 摘要:解题思路:注意事项:参考代码:#includeint main(void){ int M,N; float M1,N1,a,sum; int i=1; scanf("%d%d"…… 题解列表 2022年11月04日 0 点赞 0 评论 438 浏览 评分:9.9