陶陶摘苹果 (C++)(看看吧!!) 摘要:解题思路:用循环语句和选择语句注意事项:注意数组的范围等参考代码:#include<iostream>#include<cstdio>using namespace std;int main(){ i…… 题解列表 2019年04月12日 1 点赞 0 评论 964 浏览 评分:7.3
特殊排序 (C语言代码)这题目貌似有点漏洞!! 摘要:解题思路:这题我表示很疑惑。我看了几位大佬的题解,发现都是先从小到大排序再按要求输出的。。但是我觉得,这种思路存在漏洞,如果,最大值有好几个(或者说重复了呢)。那按题目要求不是要删去最大值再排序么?按…… 题解列表 2019年04月12日 0 点赞 0 评论 1131 浏览 评分: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 评论 904 浏览 评分:0.0
排序 (C语言代码) 摘要:解题思路:多组测试嘛,用EOF就行了。但要注意,多组测试与多组输入是不同的。注意事项:不知道怎么了,我在dev c++用EOF提示错误,但是提交正确。有知道原因的道友可以告知一下。参考代码:#incl…… 题解列表 2019年04月11日 0 点赞 0 评论 934 浏览 评分: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 评论 646 浏览 评分:0.0
DNA (C++代码) 摘要:解题思路:把DNA定义为二维数组,当重复度(b)大于一时,之后的数组都不输出第一行参考代码:#include<iostream> #include<string> using namespace …… 题解列表 2019年04月11日 0 点赞 0 评论 886 浏览 评分:0.0
字符串问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int len,i; char a[100]; scanf("%s",a);…… 题解列表 2019年04月11日 0 点赞 0 评论 1145 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.8 (C语言代码) 摘要:#include<stdio.h>int main(){ char a[4]; for(int i=0;i<=3;i++) scanf("%c",&a[i]); printf(…… 题解列表 2019年04月11日 1 点赞 0 评论 901 浏览 评分:0.0
最小三个数 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>int main(){ int i,s,a[100],n,t; &nb 题解列表 2019年04月11日 0 点赞 0 评论 849 浏览 评分:7.3
【明明的随机数】 (C语言代码) 摘要:解题思路:先排序后去重》》》》注意事项:参考代码:#include<stdio.h>#include<ctype.h>#include<string.h>void glc(int a[],int n)…… 题解列表 2019年04月11日 0 点赞 0 评论 1127 浏览 评分:0.0