编写题解 1479: 蓝桥杯算法提高VIP-删除数组中的0元素(python) 摘要:解题思路:注意事项:参考代码:def CompactIntegers(arr,length): global arr_new arr_new=[] for i in range(0,…… 题解列表 2022年01月12日 0 点赞 0 评论 260 浏览 评分:0.0
2080: 蓝桥杯基础练习-十六进制转八进制 摘要:解题思路:注意事项:参考代码:n = int(input()) def to_ten(x): #转换成10进制 dic = {'A':10,'B':11…… 题解列表 2022年01月12日 0 点赞 0 评论 257 浏览 评分:0.0
2062: [STL训练]第二小整数 摘要:解题思路:注意事项:参考代码:n = int(input()) for i in range(n): m = int(input()) ls = list(map(int,inp…… 题解列表 2022年01月12日 0 点赞 0 评论 179 浏览 评分:0.0
蓝桥杯历届试题-回文数字 摘要:import java.util.Scanner; public class Demo1434 { public static void main(String[] args) { Sca…… 题解列表 2022年01月12日 0 点赞 0 评论 327 浏览 评分:9.9
2059: [STL训练]sort练习 摘要:解题思路:注意事项:参考代码:n,m = map(int,input().split()) lis = list(map(int,input().split())) lis.sort(revers…… 题解列表 2022年01月12日 0 点赞 0 评论 316 浏览 评分:0.0
解题思路:把每一个单词的字母按升序排序,再进行比较; 摘要:package January_12; import java.util.Scanner; public class _2085 { public static void m…… 题解列表 2022年01月12日 0 点赞 0 评论 300 浏览 评分:9.9
纯dfs求解-剪格子 摘要:```cpp #include using namespace std; const int N=10; int a[N][N],vis[N][N]; int m,n; int dis[…… 题解列表 2022年01月12日 0 点赞 4 评论 213 浏览 评分:6.0
利用顺序栈完成进制转化 摘要:```c #include #include typedef struct STACK { int* base; int* top; int stacksize; }SqSt…… 题解列表 2022年01月12日 0 点赞 0 评论 426 浏览 评分:7.5
编写题解 2256: 蓝桥杯算法提高-成绩排名(python) 摘要:解题思路:注意事项:参考代码:a=int(input())t={}for i in range(0,a): x=input().split() t[x[0]]=int(x[1])a=sor…… 题解列表 2022年01月12日 0 点赞 0 评论 229 浏览 评分:0.0
蛇形矩阵用数组的序号方便理解 摘要:解题思路: 用俩个for循环打印出 呈现的数字,存入数组,然后找输出的参考代码:#include <stdio.h> int main() { int n; int num[1…… 题解列表 2022年01月12日 0 点赞 0 评论 234 浏览 评分:9.9