数列排序 (C语言代码) 摘要:解题思路:一口气全给排了注意事项:参考代码:#include<stdio.h>int a[9];void glc(int n){ int i,j,k; for(i=0;i<8;i++){ for(j…… 题解列表 2019年04月12日 0 点赞 0 评论 1141 浏览 评分:0.0
众数问题 (C语言代码) 摘要:解题思路:提交一波注意事项:参考代码:#include<stdio.h>int a[50001];int b[50001],c[50001];void glc(int n){ int i,j,kay;…… 题解列表 2019年04月12日 2 点赞 0 评论 1380 浏览 评分:0.0
C二级辅导-统计字符 (C语言代码) 摘要:#include<stdio.h>int main(){ char a[100]; int count1=0,count2=0,count3=0,count4=0,sum=0; ge…… 题解列表 2019年04月12日 1 点赞 0 评论 716 浏览 评分:0.0
A+B for Input-Output Practice (VII) (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int a,b; while(scanf("%d %d",&a,&b)==2){ printf("%d\n\n…… 题解列表 2019年04月12日 0 点赞 0 评论 835 浏览 评分:0.0
【矩阵】 (C语言代码) 摘要:解题思路:供参考注意事项:参考代码:#include <stdio.h> int a[8][8];//int b[8];int n;int m=10000;int max(){ int i,j,…… 题解列表 2019年04月12日 0 点赞 0 评论 900 浏览 评分:0.0
陶陶摘苹果 (C++)(看看吧!!) 摘要:解题思路:用循环语句和选择语句注意事项:注意数组的范围等参考代码:#include<iostream>#include<cstdio>using namespace std;int main(){ i…… 题解列表 2019年04月12日 1 点赞 0 评论 871 浏览 评分:7.3
特殊排序 (C语言代码)这题目貌似有点漏洞!! 摘要:解题思路:这题我表示很疑惑。我看了几位大佬的题解,发现都是先从小到大排序再按要求输出的。。但是我觉得,这种思路存在漏洞,如果,最大值有好几个(或者说重复了呢)。那按题目要求不是要删去最大值再排序么?按…… 题解列表 2019年04月12日 0 点赞 0 评论 1028 浏览 评分:0.0
(C语言代码)题解1169:【绝对值排序】 (C语言代码)(会冒泡排序法调用数学函数加个abs就得了) 摘要:解题思路:在冒泡排序法基础上加个abs,注意事项:参考代码:#include<stdio.h>#include<math.h>int main(){ int N,t,pi,i,a[101]; whi…… 题解列表 2019年04月12日 0 点赞 0 评论 789 浏览 评分:0.0
排序 (C语言代码) 摘要:解题思路:多组测试嘛,用EOF就行了。但要注意,多组测试与多组输入是不同的。注意事项:不知道怎么了,我在dev c++用EOF提示错误,但是提交正确。有知道原因的道友可以告知一下。参考代码:#incl…… 题解列表 2019年04月11日 0 点赞 0 评论 844 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.9 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ char a[100]; int count1=0,count2=0,count3=0,count4…… 题解列表 2019年04月11日 1 点赞 0 评论 584 浏览 评分:0.0