逆序数 (C++代码)(树状数组 O(nlogn) ) 摘要:解题思路: 离散化 + 树状数组参考代码:#include<bits/stdc++.h> using namespace std; const int SIZE = 1024; …… 题解列表 2018年08月04日 0 点赞 0 评论 1559 浏览 评分:0.0
鸡兔同笼 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<math.h>#include<iostream>using namespace std;int main() { i…… 题解列表 2018年08月03日 0 点赞 0 评论 1236 浏览 评分:0.0
装包装箱问题 (C++代码) 摘要:解题思路:注意事项:参考代码:用到数学函数ceil求较大整值#include<stdio.h>#include<math.h>#include<iostream>using namespace std…… 题解列表 2018年08月03日 1 点赞 0 评论 1041 浏览 评分:0.0
王牌花色 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>#include<iostream>using namespace std;int n, t, m,…… 题解列表 2018年08月03日 0 点赞 0 评论 1790 浏览 评分:0.0
三位数反转 (C++代码) 摘要:解题思路:注意事项:参考代码:简单点#include<iostream>using namespace std;int main(){ int n; while (cin >> n) cout <<…… 题解列表 2018年08月03日 0 点赞 0 评论 880 浏览 评分:0.0
换硬币 (C++代码) 摘要:解题思路:注意事项:参考代码:简单点#include<iostream>using namespace std;int main(){ int n, a[10] = { 1,2,3,5,8,13,21…… 题解列表 2018年08月03日 0 点赞 0 评论 1750 浏览 评分:0.0
数日子 (C++代码) 摘要:解题思路:注意事项:参考代码:这样就能通过,233333#include<iostream>using namespace std;int main(){ cout << 200 << endl; r…… 题解列表 2018年08月03日 0 点赞 0 评论 1038 浏览 评分:2.0
蓝桥杯2014年第五届真题-重复模式 (C++代码) 摘要:解题思路:参考代码:#include<bits/stdc++.h> using namespace std; int main() { string str; cin >> str; …… 题解列表 2018年08月03日 0 点赞 0 评论 2787 浏览 评分:9.9
成绩排序 (C++代码) 摘要:#include<iostream> #include<algorithm> #include<cstring> using namespace std; struct stu { ch…… 题解列表 2018年08月03日 0 点赞 2 评论 1717 浏览 评分:8.0
蓝桥杯2014年第五届真题-拼接平方数 (C++代码) 摘要:#include"bits/stdc++.h" using namespace std; int f(int n) { int i = 1; while (n != 0) { …… 题解列表 2018年08月02日 0 点赞 0 评论 1243 浏览 评分:0.0