直接理解(Python) 摘要:a,b=map(int,input().split())def sushu(N): for i in range(2,N): if N%i==0: retur…… 题解列表 2021年04月16日 0 点赞 0 评论 298 浏览 评分:0.0
1641: 蓝桥杯算法训练VIP-星际交流(Python3) 摘要:解题思路:注意事项: Python中的permutations结果和C++的next_permutation有区别,而本题是按照C++标准走的,所以需要对Python的permutations结…… 题解列表 2021年04月16日 0 点赞 0 评论 532 浏览 评分:0.0
方法比较直接(Python) 摘要:zfc='qwertyuiopasdfghjklzxcvbnm'tj=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,]whi…… 题解列表 2021年04月16日 0 点赞 0 评论 312 浏览 评分:0.0
直接判断(Python) 摘要:def panduan(N): for i in range(N+1): if i**3 == N: return 1 if i**3>N: …… 题解列表 2021年04月16日 0 点赞 0 评论 455 浏览 评分:0.0
蓝桥杯][2019年第十届真题]完全二叉树的权值 摘要:解题思路:注意事项:参考代码:N=int(input()) w=list(map(int,input().split())) n=0 Max=float('-inf') re=…… 题解列表 2021年04月16日 0 点赞 0 评论 430 浏览 评分:9.9
直接遍历(Python) 摘要:while 1: s=list(input()) if len(s)==0: break for i in range(len(s)): if s[i]=…… 题解列表 2021年04月16日 0 点赞 0 评论 531 浏览 评分:0.0
直接查找(Python) 摘要:a=[]num=0for i in range(100,201): t = 0 for j in range(2,i): if i % j == 0: …… 题解列表 2021年04月16日 0 点赞 0 评论 291 浏览 评分:0.0
修改数组题解 摘要:解题思路:暴力模拟到并查集注意事项:参考代码:暴力模拟 没有ACN = int(input()) ##inputList = [int(temp) for temp in input().strip…… 题解列表 2021年04月15日 0 点赞 0 评论 514 浏览 评分:9.9
简单的暴力求法(Python) 摘要:S1='AWF'S3='DPG'while 1: S=input() if S=='END': break for i …… 题解列表 2021年04月15日 0 点赞 0 评论 246 浏览 评分:8.0
不是很好的方法(Python) 摘要:YMD=[0,31,28,31,30,31,30,31,31,30,31,30,31]def runnian(Y1): if Y1%100==0: return 1 else…… 题解列表 2021年04月15日 0 点赞 0 评论 276 浏览 评分:0.0