A+B for Input-Output Practice (II)-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,j; scanf("%d",&n); int a[n][2],sum[n]; for(int i=0…… 题解列表 2020年12月02日 0 点赞 0 评论 1193 浏览 评分:7.3
做幻方-题解(C语言代码) 摘要:解题思路:注意事项:参考代码: 代码格式不太好看,建议粘贴在编译器上看11 18 25 …… 题解列表 2020年12月02日 0 点赞 0 评论 605 浏览 评分:9.9
二级C语言-平均值计算-题解(C语言代码)调用函数解题 摘要:解题思路:利用调用函数 还有指针注意事项:参考代码: #include <stdio.h> #include <math.h> int avg(int*a) { int i,su…… 题解列表 2020年12月02日 0 点赞 0 评论 359 浏览 评分:0.0
[编程入门]完数的判断-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j,k,sum,count,m; int a[100]; scanf("%d",&n); for…… 题解列表 2020年12月01日 0 点赞 0 评论 422 浏览 评分:9.9
求总时间-题解(C语言代码) 摘要:解题思路:注意事项:注意输出的小数;参考代码:#include <stdio.h>int main(){ int i,n; float sum=0,t=30; scanf("%d",&n); for(…… 题解列表 2020年12月01日 0 点赞 0 评论 302 浏览 评分:0.0
[编程入门]阶乘求和-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,j; long long a[21],sum1,sum2=0; scanf("%d",&n); …… 题解列表 2020年12月01日 0 点赞 0 评论 351 浏览 评分:9.9
输出M到N的数-题解(C语言代码) 摘要:解题思路:注意事项:注意M=N这种情况;参考代码:#include <stdio.h>int main(){ int M,N,i; scanf("%d%d",&M,&N); if(M<N) for(i…… 题解列表 2020年12月01日 0 点赞 0 评论 559 浏览 评分:8.0
分段计算-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ int x,y; scanf("%d",&x); if(x<3) y=2*x; if(x>=3 && x<20…… 题解列表 2020年12月01日 0 点赞 0 评论 478 浏览 评分:0.0
求阶梯水费-题解(C语言代码) 摘要:解题思路:注意事项:注意包含15!!!!!参考代码:#include <stdio.h>int main(){ int a,b; scanf("%d",&a); if(a<=15) b=2*a; if…… 题解列表 2020年12月01日 0 点赞 0 评论 458 浏览 评分:0.0
求平均工资-题解(C语言代码) 摘要:解题思路:注意事项:注意整数;参考代码:#include <stdio.h>int main(){ int a[100], n,i,sum,ave; scanf("%d",&n); sum=0; fo…… 题解列表 2020年12月01日 0 点赞 0 评论 691 浏览 评分:0.0