排列 (C语言代码) 摘要:解题思路:注意事项:不用排序参考代码:#include <stdio.h>int main(void){ int i, n; scanf("%d", &n); for (i = 1;i <= n;i+…… 题解列表 2018年03月27日 0 点赞 0 评论 1382 浏览 评分:0.0
超时的DFS,上面那位大佬厉害呀 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> #include<cstring> #include<cmath> #include…… 题解列表 2018年03月30日 3 点赞 0 评论 1655 浏览 评分:0.0
【数组的距离】 (C语言代码) 摘要:#include<stdio.h>#include<math.h>int main(){ int m,n; int a[1000],t,min=999999; scanf("%d %…… 题解列表 2018年03月27日 0 点赞 0 评论 1120 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题9.2 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#define Mod(x,y) x=x%yint main(){ int x,y; scanf("%d %d",&x,&y…… 题解列表 2018年03月27日 0 点赞 0 评论 673 浏览 评分:0.0
蓝桥杯算法提高VIP-和最大子序列 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=100001; int map[M]; int Max;…… 题解列表 2018年03月27日 0 点赞 0 评论 747 浏览 评分:0.0
蓝桥杯算法提高VIP-最小乘积(提高型) (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<algorithm> using namespace std; const int M=10001; in…… 题解列表 2018年03月27日 0 点赞 0 评论 1230 浏览 评分:0.0
C二级辅导-统计字符 (Java代码) 摘要:解题思路: 该题是用来求一个字符串其中的字母个数、空格个数、数字的个数以及其他字符的个数 这样的话我们先分析题意,我们可以把一个字符串转化为一个字符数组,转化为字符数组之后…… 题解列表 2018年03月27日 3 点赞 0 评论 1521 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.5 (C语言代码)字符串相互赋值 以及需要注意的情况 摘要:参考代码如下:#include <stdio.h> #include <string.h> #define STR_LEN 256 void strconvert(char *str)…… 题解列表 2018年03月27日 1 点赞 0 评论 895 浏览 评分:0.0
滴滴滴 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#define S(a,b,c) (1.0*(a+b+c)/2)#define area(s,a,b,c…… 题解列表 2018年03月27日 0 点赞 0 评论 847 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题8.6 (C语言代码)自定义函数实现两个字符串连接 摘要:有点不明白为啥大家都不按题目要求来解题。。为了刷题而刷题嘛哈哈哈哈!下面是我的答案,仅供参考:#include <stdio.h> #include <string.h> #include <st…… 题解列表 2018年03月27日 1 点赞 0 评论 1351 浏览 评分:0.0