C语言程序设计教程(第三版)课后习题8.7 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>int vowel(char a[]){ int i, l; l = strlen(a)…… 题解列表 2019年03月22日 0 点赞 0 评论 770 浏览 评分:0.0
蓝桥杯2014年第五届真题-地宫取宝 (C++代码)记忆化搜索+动态规划 摘要:解题思路:(好难,我看了大量别人写的题解弄出来的)记忆化搜索+动态规划参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(fal…… 题解列表 2019年03月22日 0 点赞 0 评论 1099 浏览 评分:0.0
蓝桥杯2013年第四届真题-买不到的数目 (C++代码) 摘要:解题思路: 主要是寻找能连续组成的个数为min(m,n)的起始位置前一个数字参考代码:#include <iostream> using namespace std; int main() { …… 题解列表 2019年03月22日 0 点赞 0 评论 852 浏览 评分:0.0
C语言训练-求PI* (C++代码) 摘要:参考代码:#include<bits/stdc++.h> using namespace std; int main(){ double pi=0,ans=1,i=0; while(1/a…… 题解列表 2019年03月22日 0 点赞 0 评论 1058 浏览 评分:0.0
蓝桥杯2013年第四届真题-买不到的数目 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;int main(){ int a,b; cin>>a>>b; …… 题解列表 2019年03月23日 0 点赞 0 评论 688 浏览 评分:0.0
蓝桥杯历届试题-蚂蚁感冒 (C++代码)结构体写出来了 摘要:解题思路: 毫无意义的题解,别看了,我看了一下别人的题解发现我还是溜了,这个方法适合扩展蚂蚁的速度不同,以及一些其他的物理模拟的方式参考代码:#include<bits/stdc++.h> …… 题解列表 2019年03月23日 0 点赞 1 评论 1212 浏览 评分:0.0
数字整除 (C++代码) 摘要:解题思路:和ET大神的思路一样注意事项:参考代码:#include<iostream>#include<string.h>#include<limits.h>#include<math.h>using…… 题解列表 2019年03月23日 0 点赞 0 评论 930 浏览 评分:0.0
蛇行矩阵 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>using namespace std;#define maxn 101int main() { int n; scanf("%d",…… 题解列表 2019年03月23日 0 点赞 0 评论 622 浏览 评分:0.0
校门外的树 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<string.h>using namespace std;int visited[10001];int main()…… 题解列表 2019年03月23日 0 点赞 0 评论 845 浏览 评分:0.0
采药 (C++代码) 摘要:解题思路:0/1背包问题,动态规划解决注意事项:参考代码:#include<iostream>#include<string.h>using namespace std;#define maxn 10…… 题解列表 2019年03月23日 0 点赞 0 评论 898 浏览 评分:0.0