题解列表

筛选

饮料换购python

摘要:解题思路:蓝桥杯2015年第六届真题-饮料换购 - C语言网 (dotcpp.com)注意事项:参考代码:n = int(input())ans = 0while n>2:    mod = n % ……

1844: 蓝桥杯2017年第八届真题-小计算器(3.17)

摘要:解题思路:主要注意理清各指令的关系,计算指令都需要有两个数字以上,所以是在碰到数字的时候才有可能操作,放在数字的分支里.num中存储的永远是十进制数,只在输出时用要求的进制输出,计算就将其它进制的数转……

动态规划!!!

摘要:```cpp // f[i][j] = f[i - 1][j] + f[i][j - i] #include using namespace std; const int N = 1……

蓝桥杯算法提高VIP-01背包

摘要:解题思路:简简单单注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() {     int n,m;     c……

动态规划好难!

摘要:```cpp #include #include using namespace std; const int N = 1010; int n , m; char a[N] , ……

multimap容器复习

摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>#include<string>#include<map>using namespace std;st……