直接转换(Python) 摘要:N=int(input())list1=[]for i in range(N): list2=list(map(int,input().split())) list1.append(lis…… 题解列表 2021年04月21日 0 点赞 0 评论 460 浏览 评分:0.0
1389: 程序员的表白 python 摘要:解题思路:注意python输出会默认换行,需要填入end参数注意事项:换行参考代码:while True: try: a = int(input()) f…… 题解列表 2021年04月20日 0 点赞 0 评论 796 浏览 评分:0.0
1481: 蓝桥杯算法提高VIP-剪刀石头布 python 摘要:解题思路:基础if else语句注意事项:无参考代码:list1 = list(map(int,input().split())) if list1[0] == 0: if list1[1…… 题解列表 2021年04月20日 0 点赞 0 评论 461 浏览 评分:0.0
直接计算(Python) 摘要:import mathT=int(input())zt=1for i in range(2,int(math.sqrt(T))+1): if T % i==0: zt=0 …… 题解列表 2021年04月20日 0 点赞 0 评论 545 浏览 评分:0.0
直接查找输出(Python) 摘要:while 1: s=input() if len(s)==0: break list1=list(s) if len(list1)<101: ma…… 题解列表 2021年04月20日 0 点赞 0 评论 534 浏览 评分:0.0
直接循环(Python) 摘要:while 1: list1=list(map(float,input().split())) if len(list1)==0: break P=list1[0]/1…… 题解列表 2021年04月20日 0 点赞 0 评论 817 浏览 评分:0.0
1038: [编程入门]宏定义练习之三角形面积 python 摘要:解题思路:python的基本用法,没什么好说的注意事项:无参考代码:a,b,c = map(int,input().split()) S=(a+b+c)/2 area = (S*(S-a)*(S-…… 题解列表 2021年04月20日 0 点赞 0 评论 781 浏览 评分:0.0
python解出来了 摘要:解题思路:注意事项:参考代码:ls=[]ls = list(input().strip().split())z = len(ls[0])b = 0for i in ls: if len(i) >…… 题解列表 2021年04月17日 0 点赞 0 评论 464 浏览 评分:0.0
分解质因数暴力法(python) 摘要:解题思路:先构建一个ls数组,将3到b+1所有的素数找出并存入,注意事项:参考代码:a,b=map(int,input().split())ls=list()ls.append(2)for i in …… 题解列表 2021年04月17日 0 点赞 0 评论 853 浏览 评分:9.9
FBI树【python】【顺序存储二叉树解法】 摘要:解题思路:顺序存储二叉树注意事项:参考代码: n=int(input()) s=input().strip() tree=['']*100000 # 存储每个节点的子串 …… 题解列表 2021年04月17日 0 点赞 0 评论 664 浏览 评分:9.9