五次方数递归实现【python】 摘要:# MarkDown编辑器基本使用说明 i=2 def chek(n): if n==0: return 0 else: return …… 题解列表 2021年04月16日 0 点赞 0 评论 719 浏览 评分:0.0
直接判断(Python) 摘要:N=int(input())while N: t=int(input()) if t % 2 == 0: print('even') else: …… 题解列表 2021年04月16日 0 点赞 0 评论 378 浏览 评分:0.0
直接理解(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 评论 424 浏览 评分:0.0
1641: 蓝桥杯算法训练VIP-星际交流(Python3) 摘要:解题思路:注意事项: Python中的permutations结果和C++的next_permutation有区别,而本题是按照C++标准走的,所以需要对Python的permutations结…… 题解列表 2021年04月16日 0 点赞 0 评论 736 浏览 评分: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 评论 411 浏览 评分: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 评论 638 浏览 评分:0.0
蓝桥杯][2019年第十届真题]完全二叉树的权值 摘要:解题思路:注意事项:参考代码:N=int(input()) w=list(map(int,input().split())) n=0 Max=float('-inf') re=…… 题解列表 2021年04月16日 0 点赞 0 评论 489 浏览 评分: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 评论 734 浏览 评分: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 评论 382 浏览 评分:0.0
修改数组题解 摘要:解题思路:暴力模拟到并查集注意事项:参考代码:暴力模拟 没有ACN = int(input()) ##inputList = [int(temp) for temp in input().strip…… 题解列表 2021年04月15日 0 点赞 0 评论 631 浏览 评分:9.9