筛排处理 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int f(int a,int b) { return a<b; }…… 题解列表 2018年12月09日 0 点赞 0 评论 570 浏览 评分:0.0
第几天 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,y,r; int a[12]…… 题解列表 2018年12月09日 1 点赞 0 评论 1074 浏览 评分:0.0
神奇的fans (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n; cin>>n; whi…… 题解列表 2018年12月09日 1 点赞 0 评论 662 浏览 评分:0.0
破解简单密码 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string a; while(cin>…… 题解列表 2018年12月09日 0 点赞 0 评论 1457 浏览 评分:6.0
倒数第二 (C++代码)暴力一点的STL 摘要:解题思路: 有STL不用,那啥参考代码:#include<bits/stdc++.h> #define hh ios::sync_with_stdio(false),cin.tie(0),co…… 题解列表 2018年12月09日 0 点赞 0 评论 718 浏览 评分:0.0
人见人爱A+B (C++代码)来运行我的题解找bug 摘要:解题思路: 运用结构体,将A+B贯彻落实下去,然而跑一下OJ居然是正确的,但实际上本题目运行的时候会有一个bug,(编译器 DEV-C++)参考代码:#include<bits/stdc…… 题解列表 2018年12月09日 0 点赞 0 评论 648 浏览 评分:0.0
【绝对值排序】 (C++代码)冒泡----冒泡----路过-----再冒个泡 摘要:解题思路: 这种题目无非就是卡你STL_sort,但是你仔细想象,会用STL之前是不是得知道哪个东西是干什么的再用,对吧,所以这题就可以直接拿一个标准的排序,带上abs()函数(绝对值函数),来…… 题解列表 2018年12月09日 0 点赞 0 评论 1021 浏览 评分:0.0
蓝桥杯2014年第五届真题-排列序数 (C++代码) 无脑打表法+ 一个大神的STL组合 摘要:解题思路: 1.暴力法 2.(大神的) STL组合法注意事项:参考代码:先看下我的无脑暴力。。。 直接打表 #include<iostream> #include<algorithm> …… 题解列表 2018年12月09日 2 点赞 0 评论 1102 浏览 评分:0.0
蓝桥杯算法训练VIP-连续正整数的和 (C++代码) 纯暴力思路! 求改进,求优化,求大佬! 摘要:解题思路: 暴力法注意事项: 别超时参考代码:#include<iostream> #include<algorithm> using namespace std; int main(…… 题解列表 2018年12月09日 0 点赞 4 评论 545 浏览 评分:6.0
蓝桥杯算法提高VIP-最小乘积(提高型) (习惯加算法思维) 摘要:解题思路:输入,排序,计算,输出这里用到了sort和memsetsort用于排序,加头文件algorithm没有compare的时候,默认的是从小到大,不需要写第三个参数memset用于给数组初始化,…… 题解列表 2018年12月09日 2 点赞 2 评论 473 浏览 评分:0.0