字符串问题 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int main(){ int len,i; char a[100]; scanf("%s",a);…… 题解列表 2019年04月11日 0 点赞 0 评论 997 浏览 评分:0.0
DNA (C++代码) 摘要:解题思路:把DNA定义为二维数组,当重复度(b)大于一时,之后的数组都不输出第一行参考代码:#include<iostream> #include<string> using namespace …… 题解列表 2019年04月11日 0 点赞 0 评论 633 浏览 评分: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 评论 580 浏览 评分:0.0
排序 (C语言代码) 摘要:解题思路:多组测试嘛,用EOF就行了。但要注意,多组测试与多组输入是不同的。注意事项:不知道怎么了,我在dev c++用EOF提示错误,但是提交正确。有知道原因的道友可以告知一下。参考代码:#incl…… 题解列表 2019年04月11日 0 点赞 0 评论 838 浏览 评分: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 评论 783 浏览 评分:0.0
特殊排序 (C语言代码)这题目貌似有点漏洞!! 摘要:解题思路:这题我表示很疑惑。我看了几位大佬的题解,发现都是先从小到大排序再按要求输出的。。但是我觉得,这种思路存在漏洞,如果,最大值有好几个(或者说重复了呢)。那按题目要求不是要删去最大值再排序么?按…… 题解列表 2019年04月12日 0 点赞 0 评论 1022 浏览 评分:0.0
【出圈】 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h> #include <stdlib.h> typedef struct no { int id; str…… 题解列表 2019年05月08日 0 点赞 0 评论 1351 浏览 评分: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 评论 888 浏览 评分: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 评论 818 浏览 评分: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 评论 710 浏览 评分:0.0