蓝桥杯算法提高VIP-大数加法-题解(C++代码) 摘要:```cpp #include using namespace std; const int maxn = 1006; int a[maxn],b[maxn]; int main(…… 题解列表 2019年09月13日 0 点赞 0 评论 696 浏览 评分:0.0
蓝桥杯算法提高VIP-和最大子序列-题解(C++代码) 摘要:```cpp #include using namespace std; #define Up(i,a,b) for(int i = a; i > n; int sum = 0,_s…… 题解列表 2019年09月14日 0 点赞 0 评论 866 浏览 评分:0.0
C语言训练-求车速-题解(C++语言代码) 分享个和大多数人不一样的方法 摘要:分享个和大多数人不一样的方法 #include using namespace std; int main(){ int n=95859,km=0;…… 题解列表 2019年09月14日 0 点赞 0 评论 1254 浏览 评分:0.0
[编程入门]迭代法求平方根 (C++代码) 摘要:使用循环输入数的时候,注意需将参数赋值写到循环里面 ```cpp #include #include using namespace std; int main() { double …… 题解列表 2019年09月14日 0 点赞 0 评论 959 浏览 评分:0.0
A_利用结构体——有序线性表的有序合并-题解(C语言代码) 摘要: //已知线性表 LA 和 LB 中的数据元素按值非递减有序排列,现要求将 LA 和 LB 归并为一个新的线性表 LC, // 且 LC 中的数据元素仍然按值非递减有序排列。例如,设L…… 题解列表 2019年09月15日 0 点赞 0 评论 1160 浏览 评分:0.0
C语言训练-求PI*-题解(C语言代码) 摘要:```c #include int main(){ double i=0,pi=0;/*因为几乎都是double类型,得把i定义成double才更好的保持精度 */ int flag,nu…… 题解列表 2019年09月15日 0 点赞 0 评论 964 浏览 评分:0.0
蓝桥杯2013年第四届真题-买不到的数目-题解(C语言代码) 摘要:#include using namespace std; int main() { int a,b; cin >> a >> b; cout …… 题解列表 2019年09月15日 0 点赞 0 评论 924 浏览 评分:0.0
蓝桥杯2013年第四届真题-剪格子-题解(C++描述,简单易懂,可参考啊哈算法走迷宫) 摘要:#include #include using namespace std; int n,m,a[10][10],book[10][10],sum,ans,q=1,s[10],l;//q代表步数…… 题解列表 2019年09月15日 0 点赞 0 评论 1437 浏览 评分:0.0
C语言训练-亲密数-题解(C语言代码) 摘要:```c #include int main() { int x,y,a=0,b[3001]; for (x = 2; x < 3000; x++) {//把3000以内的数…… 题解列表 2019年09月15日 0 点赞 0 评论 779 浏览 评分:0.0
[编程入门]自定义函数之数字后移-题解(C语言代码) 摘要:我想知道哪里错了?运行的出来,结果也是对的,为什么老是判定错误???? #include int main(){ int m,n,temp; printf("请输入想要输入…… 题解列表 2019年09月15日 0 点赞 0 评论 827 浏览 评分:0.0