优质题解 momoc-数据结构-双向循环链表 附带超详细题解 摘要:解题思路:双链表插入过程 以下介绍的是头插法截取双向链表某一段在p 后面插入元素 s假如p->next指向下一个元素x注意:先把后元素连接 再将前元素连接第一步:(这一步千万不要倒过来 否…… 题解列表 2018年08月01日 11 点赞 0 评论 1768 浏览 评分:9.9
半数集问题 (C++代码) 摘要:#include "iostream" #include "algorithm" using namespace std; int main() { int n; while (cin…… 题解列表 2018年09月15日 2 点赞 0 评论 956 浏览 评分:9.9
程序员美工梦 (C++代码) 摘要:#include "iostream" #include "algorithm" #include "cstdio" using namespace std; int main() { …… 题解列表 2018年08月01日 1 点赞 0 评论 1859 浏览 评分:9.9
蓝桥杯算法提高VIP-输出九九乘法表 (C++代码) 摘要:解题思路:注意事项:参考代码:#include <iostream> using namespace std; int main(){ cout<<" Nine-by-nine Multip…… 题解列表 2018年08月02日 2 点赞 0 评论 2837 浏览 评分:9.9
蓝桥杯算法训练VIP-特殊的数字四十 (C语言代码) 摘要:解题思路: 直接穷举破解 把每位的数保存,并相加是否等于10就输出。注意事项:换行输出参考代码:#include <iostream> #include <s…… 题解列表 2018年08月02日 0 点赞 0 评论 1241 浏览 评分:9.9
momoc:题解1513:蓝桥杯算法提高VIP-大数加法 (C语言代码)附题解 摘要:解题思路: 1.用字符串保存输入的数 1.用字符串保存输入的数 2.对输入的字符串进行逆序并转换成数组保存到整数数组 3.对数组相加对相加后的数进行取模,并把进位的数保存到 4.相加结束时 …… 题解列表 2019年04月24日 8 点赞 1 评论 1168 浏览 评分:9.9
蓝桥杯2014年第五届真题-重复模式 (C++代码) 摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string str; cin >> str; …… 题解列表 2018年08月03日 0 点赞 0 评论 2407 浏览 评分:9.9
蓝桥杯算法提高VIP-计算质因子 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h>using namespace std;int f(int a){ int y; if(a<=1) return 0; y=…… 题解列表 2018年08月04日 0 点赞 1 评论 983 浏览 评分:9.9
P1006 (C++代码) 摘要:#include"bits/stdc++.h" using namespace std; int main() { string a; cin >> a; int len = a.s…… 题解列表 2018年08月05日 0 点赞 0 评论 1876 浏览 评分:9.9
C语言训练-8除不尽的数 (C语言代码)简洁 摘要:解题思路:注意事项:参考代码:#include <math.h>#include <stdio.h>int main(){ int x,y,z,q,p,n=1; while(n++) …… 题解列表 2018年08月05日 0 点赞 1 评论 1714 浏览 评分:9.9