饮料换购python 摘要:解题思路:蓝桥杯2015年第六届真题-饮料换购 - C语言网 (dotcpp.com)注意事项:参考代码:n = int(input())ans = 0while n>2: mod = n % …… 题解列表 2022年03月17日 0 点赞 0 评论 691 浏览 评分:8.0
1844: 蓝桥杯2017年第八届真题-小计算器(3.17) 摘要:解题思路:主要注意理清各指令的关系,计算指令都需要有两个数字以上,所以是在碰到数字的时候才有可能操作,放在数字的分支里.num中存储的永远是十进制数,只在输出时用要求的进制输出,计算就将其它进制的数转…… 题解列表 2022年03月17日 0 点赞 0 评论 398 浏览 评分:9.9
1598: 蓝桥杯算法训练VIP-学生成绩 摘要:解题思路:直接使用qsort函数排序,快的不得了。参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> #include…… 题解列表 2022年03月17日 0 点赞 0 评论 420 浏览 评分:9.9
动态规划!!! 摘要:```cpp // f[i][j] = f[i - 1][j] + f[i][j - i] #include using namespace std; const int N = 1…… 题解列表 2022年03月16日 0 点赞 0 评论 528 浏览 评分:8.0
最大公约数与最小公倍数 摘要:##最大公约数和最小公倍数 ```c #include int main() { int a,b,t,m,n,i; scanf("%d %d",&a,&b); t=a0;i--){…… 题解列表 2022年03月16日 0 点赞 0 评论 309 浏览 评分:0.0
蓝桥杯算法提高VIP-01背包 摘要:解题思路:简简单单注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,m; c…… 题解列表 2022年03月16日 0 点赞 0 评论 370 浏览 评分:0.0
蓝桥杯算法提高VIP-计算质因子 超级简单! 摘要:解题思路:①判断i是否为n的因数②判断i是否为质数#include <stdio.h> int main() { int n,k; scanf("%d",&n);//输入一个整数,输出其…… 题解列表 2022年03月16日 1 点赞 0 评论 327 浏览 评分:9.9
动态规划好难! 摘要:```cpp #include #include using namespace std; const int N = 1010; int n , m; char a[N] , …… 题解列表 2022年03月16日 0 点赞 0 评论 469 浏览 评分:0.0
十->二进制转换【位运算】 摘要:```cpp #include #include using namespace std; int n; int flag=0; vector arr; void BinaryChang…… 题解列表 2022年03月16日 0 点赞 0 评论 422 浏览 评分:9.9
multimap容器复习 摘要:解题思路:注意事项:参考代码:#include<iostream>#include<cstdio>#include<string>#include<map>using namespace std;st…… 题解列表 2022年03月16日 0 点赞 0 评论 347 浏览 评分:0.0