题解列表
字符串连接——python
摘要:解题思路:注意事项:参考代码:while True: try: a,b = map(str,input().split()) print(a+b) except……
后缀子串排序——python
摘要:解题思路:注意事项:参考代码:while True: try: L = input() L2 = [] for i in range(len(L)): ……
求最大值——python
摘要:解题思路:注意事项:参考代码:while True: try: L = list(map(int,input().split())) print(f"max={max……
蓝桥杯2014年第五届真题-分糖果
摘要:解题思路:注意事项:参考代码:n=int(input())a=list(map(int,input().split()))st=[0]*nflag=0cnt=0while flag==0: fo……
模拟即可,掌握n进制转十进制,十进制转n进制
摘要:解题思路:注意事项:参考代码:def check(n,k):#N进制转十进制 ans=0 pro=1#进制 while n!=0: ans+=n%10*pro ……
蓝桥杯2014年第五届真题-Log大侠
摘要:解题思路:注意事项:参考代码:from math import*n,m = map(int,input().split())L = list(map(int,input().split()))for ……
蓝桥杯算法训练VIP-黑色星期五
摘要:解题思路:注意事项:参考代码:from datetime import*n = int(input())s = 0for i in range(1,13): a = date(n,i,13) ……
蓝桥杯算法训练VIP-集合运算
摘要:解题思路:注意事项:参考代码:n = int(input())L1 = list(map(int,input().split()))L1.sort()m = int(input())L2 = list……
蓝桥杯算法提高VIP-数字黑洞
摘要:解题思路:注意事项:参考代码:n = input()s = 0while n != '6174': a = ''.join(sorted(n)[::-1]) ……