蓝桥杯2014年第五届真题-兰顿蚂蚁(Python) 摘要:解题思路:注意事项:参考代码:m,n=map(int,input().split())List=[]while(m>0): List1=list(map(int,input().split())…… 题解列表 2022年03月17日 0 点赞 0 评论 435 浏览 评分:9.9
编写题解 1465: 蓝桥杯基础练习VIP-回形取数 摘要:解题思路:注意事项:参考代码:#include "iostream"#include "string.h"using namespace std;int main(){ int n,m; …… 题解列表 2022年03月17日 0 点赞 0 评论 483 浏览 评分:0.0
[编程入门]字符串分类统计 摘要:##[编程入门]字符串分类统计 ```c #include #include int main() { char s[201]; int i,c1=0,c2=0,c3=0,c4=0;…… 题解列表 2022年03月17日 0 点赞 0 评论 446 浏览 评分:0.0
饮料换购python 摘要:解题思路:蓝桥杯2015年第六届真题-饮料换购 - C语言网 (dotcpp.com)注意事项:参考代码:n = int(input())ans = 0while n>2: mod = n % …… 题解列表 2022年03月17日 0 点赞 0 评论 761 浏览 评分:8.0
1844: 蓝桥杯2017年第八届真题-小计算器(3.17) 摘要:解题思路:主要注意理清各指令的关系,计算指令都需要有两个数字以上,所以是在碰到数字的时候才有可能操作,放在数字的分支里.num中存储的永远是十进制数,只在输出时用要求的进制输出,计算就将其它进制的数转…… 题解列表 2022年03月17日 0 点赞 0 评论 589 浏览 评分:9.9
1598: 蓝桥杯算法训练VIP-学生成绩 摘要:解题思路:直接使用qsort函数排序,快的不得了。参考代码:#include <stdio.h> #include <stdlib.h> #include <string.h> #include…… 题解列表 2022年03月17日 0 点赞 0 评论 536 浏览 评分: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 评论 605 浏览 评分: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 评论 376 浏览 评分:0.0
蓝桥杯算法提高VIP-01背包 摘要:解题思路:简简单单注意事项:参考代码:#include<bits/stdc++.h> using namespace std; int main() { int n,m; c…… 题解列表 2022年03月16日 0 点赞 0 评论 503 浏览 评分:0.0
蓝桥杯算法提高VIP-计算质因子 超级简单! 摘要:解题思路:①判断i是否为n的因数②判断i是否为质数#include <stdio.h> int main() { int n,k; scanf("%d",&n);//输入一个整数,输出其…… 题解列表 2022年03月16日 1 点赞 0 评论 424 浏览 评分:9.9