蓝桥杯算法提高VIP-数字黑洞 (C++代码) 摘要:解题思路: 没啥好说的,它讲什么,我们做什么。变换成最大最小值我这里的做法是把它变成字符串然后 sort 在返回数字,当 num 有前导零的时候增加 10 倍即可…… 题解列表 2018年06月03日 1 点赞 0 评论 1571 浏览 评分:0.0
简单编码 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<string> using namespace std; int main() { string st…… 题解列表 2018年06月03日 0 点赞 0 评论 1913 浏览 评分:0.0
简单的事情 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int n,m; while(cin>>n>>m)…… 题解列表 2018年06月03日 0 点赞 0 评论 2078 浏览 评分:0.0
P1002 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<vector>#include<algorithm>using namespace std;struct Stude…… 题解列表 2018年06月03日 0 点赞 0 评论 1395 浏览 评分:0.0
筛排处理 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> #include<algorithm> using namespace std; cons…… 题解列表 2018年06月02日 0 点赞 0 评论 2353 浏览 评分:0.0
第几天 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int check(int n) { if(…… 题解列表 2018年06月02日 0 点赞 0 评论 1960 浏览 评分:6.0
矩阵转置 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; const int M=1000; int a[M][M]; int main()…… 题解列表 2018年06月02日 0 点赞 0 评论 1108 浏览 评分:0.0
盐水的故事 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b)…… 题解列表 2018年06月02日 0 点赞 0 评论 1374 浏览 评分:0.0
C语言程序设计教程(第三版)课后习题7.4 (C++代码) 摘要:解题思路:注意事项:参考代码:#include"iostream" using namespace std; int main(){ int a[10],t; for(int i=0…… 题解列表 2018年06月02日 1 点赞 3 评论 1027 浏览 评分:9.3
C语言程序设计教程(第三版)课后习题7.2 (C++代码) 摘要:解题思路:解题方式: 冒泡排序,选择排序,调用系统sort排序方法注意事项:选择排序,一一对比,找出最小数的下标,最后再替换 冒泡排序,一一对比,如果比他大就替换参考代码://选择排序 …… 题解列表 2018年06月02日 0 点赞 0 评论 983 浏览 评分:0.0