二级C语言-进制转换-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i=0,j; int a[100]; scanf("%d",&n); while(n>0){ a[…… 题解列表 2020年12月02日 0 点赞 0 评论 808 浏览 评分:8.0
[编程入门]报数问题-题解(C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int n,i,count=0,count1=0; int a[1000]={0}; scanf("%d",&n…… 题解列表 2020年12月02日 0 点赞 0 评论 683 浏览 评分:9.9
奇数个数-题解(C语言代码) 摘要:解题思路:注意事项:注意c初值为0;参考代码:#include <stdio.h>#include <string.h> int main(){ char a[100]; int i,b,…… 题解列表 2020年12月02日 0 点赞 0 评论 574 浏览 评分:0.0
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 评论 1194 浏览 评分:7.3
做幻方-题解(C语言代码) 摘要:解题思路:注意事项:参考代码: 代码格式不太好看,建议粘贴在编译器上看11 18 25 …… 题解列表 2020年12月02日 0 点赞 0 评论 610 浏览 评分:9.9
二级C语言-平均值计算-题解(C语言代码)调用函数解题 摘要:解题思路:利用调用函数 还有指针注意事项:参考代码: #include <stdio.h> #include <math.h> int avg(int*a) { int i,su…… 题解列表 2020年12月02日 0 点赞 0 评论 360 浏览 评分: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 评论 423 浏览 评分: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 评论 304 浏览 评分: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 评论 354 浏览 评分: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 评论 562 浏览 评分:8.0