蓝桥杯算法训练VIP-数位分离 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n,s=0; int a[100]; cin>>n;…… 题解列表 2018年08月14日 0 点赞 0 评论 1193 浏览 评分:0.0
蓝桥杯算法训练VIP-数对 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int main(){ int n; cin>>n; for(int i=1;i<=…… 题解列表 2018年08月14日 0 点赞 0 评论 813 浏览 评分:0.0
简单的a+b (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ double a,b,c; printf("请输入a:"); scanf("%lf",&a); pri…… 题解列表 2018年08月14日 0 点赞 0 评论 952 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题1.5 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include <stdio.h>int main(){ printf("**************************\nHello World!\n****…… 题解列表 2018年08月14日 0 点赞 0 评论 962 浏览 评分:0.0
蓝桥杯2014年第五届真题-Log大侠 (C++代码) 摘要:解题思路:既能实现数组的二分查找,又能实现链表的O(1)删除,原来是map。注意事项:参考代码:#include<bits/stdc++.h>using namespace std;typedef l…… 题解列表 2018年08月14日 0 点赞 0 评论 855 浏览 评分:0.0
数据结构-广义表的基本操作 (C语言代码) 摘要:参考代码:#include<stdio.h> #include<string.h> #include<malloc.h> #define MAX_STR_LEN 101 typedef…… 题解列表 2018年08月14日 1 点赞 0 评论 1446 浏览 评分:0.0
蓝桥杯2013年第四届真题-错误票据 (C++代码) 摘要:解题思路:很明显这题就是要我们输入数字,然后对这些数字进行升序(从小到大)排序,因为是连续的,只要判断是不是+1等于下一个数字,不是那就是缺的,然后就是找重复的数字不过这里我是先找重复的,然后删掉重复…… 题解列表 2018年08月14日 14 点赞 0 评论 1323 浏览 评分:0.0
P1001 (C语言代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>int Confirm(int n){ //确定是否为质数 if(n<2)…… 题解列表 2018年08月14日 0 点赞 0 评论 1436 浏览 评分:0.0
数据结构-KMP字符串模式匹配算法实现 (C++代码) 摘要: 参考代码:#include<bits/stdc++.h> using namespace std; const int SIZE = 2130; int perfix[SIZ…… 题解列表 2018年08月22日 0 点赞 0 评论 2586 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题6.1 (C++代码) 摘要:解题思路:运用辗转相除求最大公约数,应用性质求最小公倍数参考代码:#include<stdio.h> int main() { int x,y,i,j,t,s;//i为最大公约数,j为最小公倍…… 题解列表 2018年08月14日 0 点赞 0 评论 1073 浏览 评分:0.0