题解列表
蓝桥杯算法提高VIP-01背包
摘要:解题思路:简简单单注意事项:参考代码:#include<bits/stdc++.h>
using namespace std;
int main()
{
int n,m;
c……
十->二进制转换【位运算】
摘要:```cpp
#include
#include
using namespace std;
int n;
int flag=0;
vector arr;
void BinaryChang……
multimap容器复习
摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>#include<string>#include<map>using namespace std;st……
C++解Torry的困惑(提高型)
摘要:解题思路:从3开始逐个寻找质数并相乘,直到质数的个数等于n。实现的具体代码有详细备注注意事项:参考代码:#include<iostream>#include<cmath>#include<vector……
[编程入门]二进制移位练习
摘要:```cpp
#include
#include
#include
using namespace std;
vector arr;
int a;
int pos = 0;
//化为二……
蓝桥杯2016年第七届真题-密码脱落
摘要:解题思路:就是公共最长序列的模板套用注意事项:参考代码:#include <bits/stdc++.h>using namespace std;int maxlen[1000][1000];int m……
优质题解
C++代码(代码简洁)
摘要:
###解法
------------
#####S = x + (x + d1) + (x + d1 + d2) + (x + d1 + d2 + d3) +....
所以:
S = ……
蓝桥杯算法提高VIP-数字黑洞
摘要:#include<iostream>#include<algorithm>using namespace std;int cnt=0;int fun(int n){ int sum[4]; ……