题解列表
编写题解 1046: [编程入门]自定义函数之数字后移(超容易理解)
摘要:解题思路:注意事项:参考代码:刚开始暴力思路:x=list(map(int,input().split()))
h=(x[-2:]+x[:8])
for i in h:
print(i,……
蓝桥杯算法提高VIP-P0102
摘要:解题思路:无注意事项:无参考代码:s = input()print('Hex: '+'0x'+s)print('Decimal:',end=' ……
[编程入门]自定义函数之整数处理(超容易入门)
摘要:解题思路:注意事项:参考代码:第一种方式 :答案错误50冒泡排序ls=list(map(int,input().split()))
for i in range(len(ls)):
for……
优质题解
爱琴海——芯片测试——超详细注释
摘要:解题思路:已知好芯片比坏芯片多。所以我们要取中间数,每列相加,大于中间数的话就是好芯片注意事项:好芯片比坏芯片多参考代码:#include<stdio.h>
int main()
{
floa……
[编程入门]电报加密(简单入门)
摘要:解题思路:注意事项:参考代码:注意事项:字符串需要引号才能通过ord转换为数字形式a=str(input())
res=[]
for i in a:
i=ord(i)#122
……
蓝桥杯2020年第十一届省赛真题-单词分析
摘要:解题思路:首先输入一个字符串,再将字符串转换成数字,输出时候在转换成字符注意事项:参考代码:#include <bits/stdc++.h>
using namespace std;
int ma……
使用动态规划进行计算k好数
摘要:解题思路:注意事项:参考代码:###使用动态规划进行计算k好数
mod_num=1000000007
K,L=map(int ,input().split())
dp=[[0]*(K+1) fo……
1538: 蓝桥杯算法提高VIP-格子位置(python代码)
摘要:解题思路:注意事项:参考代码:n=int(input())
h=int(input())
z=int(input())
for i in range(1,n+1):
print(f&#……
创建两个列表,一个列表储存分组后的数据,另一个列表储存abcde等级的数目,一定要一一对应
摘要:解题思路:注意事项:参考代码:n=int(input())x=list(map(int,input().strip().split()))a=[]b=[]c=[]d=[]e=[]for i in x:……