方法比较直接(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 评论 469 浏览 评分: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 评论 740 浏览 评分:0.0
蓝桥杯][2019年第十届真题]完全二叉树的权值 摘要:解题思路:注意事项:参考代码:N=int(input()) w=list(map(int,input().split())) n=0 Max=float('-inf') re=…… 题解列表 2021年04月16日 0 点赞 0 评论 528 浏览 评分: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 评论 813 浏览 评分: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 评论 471 浏览 评分:0.0
修改数组题解 摘要:解题思路:暴力模拟到并查集注意事项:参考代码:暴力模拟 没有ACN = int(input()) ##inputList = [int(temp) for temp in input().strip…… 题解列表 2021年04月15日 0 点赞 0 评论 700 浏览 评分:9.9
简单的暴力求法(Python) 摘要:S1='AWF'S3='DPG'while 1: S=input() if S=='END': break for i …… 题解列表 2021年04月15日 0 点赞 0 评论 480 浏览 评分: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 评论 457 浏览 评分:0.0
1095: The 3n + 1 problem Python解法(25行简单易懂) 摘要:解题思路:注意事项: i,j的大小不确定的,要分类来做,我第一次就错了参考代码:while True: t = False m = [] a, b = map(int,i…… 题解列表 2021年04月15日 0 点赞 0 评论 927 浏览 评分:9.9
直接查找(Python) 摘要:S={}n=int(input())while n>0: t=int(input()) if t in S: S[t]=S[t]+1 else: S[t]…… 题解列表 2021年04月15日 0 点赞 0 评论 657 浏览 评分:0.0