python 编写题解 1484: 蓝桥杯算法提高VIP-Quadratic Equation 摘要:解题思路:注意事项:参考代码:from math import sqrta,b,c=map(float,input().split())A=sqrt(b**2-4*a*c)n=(-b+A)/(2*a)…… 题解列表 2022年03月29日 0 点赞 0 评论 379 浏览 评分:9.9
题解 1070: 二级C语言-成绩归类 摘要:解题思路:循环判断输入的数据注意事项:发现有0或负数时跳出循环,结束输入注意包括0或负数以及之后的数据都不计入统计参考代码:li=li1=[]flg = 0while True: #循环控制输入 …… 题解列表 2022年03月29日 0 点赞 0 评论 610 浏览 评分:9.0
python 编写题解 1458: 蓝桥杯2013年第四届真题-错误票据 easy 摘要:解题思路:注意事项:参考代码:n=int(input());li=[]for i in range(n): s=list(map(int,(input().strip()).split())) …… 题解列表 2022年03月29日 0 点赞 0 评论 445 浏览 评分:9.9
python 编写题解 核桃的数量 超简单!!! 摘要:解题思路:注意事项:参考代码:a,b,c=map(int,input().split())max=max(a,b,c)while True: if max%a==0 and max%b==0 a…… 题解列表 2022年03月29日 0 点赞 0 评论 588 浏览 评分:9.9
python 编写题解 1431: 蓝桥杯2014年第五届真题-分糖果 超简单!! 摘要:解题思路:注意事项:参考代码:n=int(input())li=list(map(int,input().split()))t=0while li.count(li[0])!=n: l=[x/2…… 题解列表 2022年03月29日 0 点赞 0 评论 621 浏览 评分:7.3
python 编写题解 1115: DNA 摘要:解题思路:注意事项:参考代码:n=int(input())for i in range(n): a,b=map(int,input().split()) list = [[" " for …… 题解列表 2022年03月29日 0 点赞 0 评论 489 浏览 评分:9.9
python 编写题解 1097: 蛇行矩阵 摘要:解题思路:用一个函数控制,避免索引越界参考代码:def f(a,n): li=[a] for i in range(num[-1],n+1): li.append(li[-1…… 题解列表 2022年03月29日 0 点赞 0 评论 413 浏览 评分:9.9
三行解决,超简单 摘要:解题思路:注意事项:参考代码:a,b=map(int,input().split()) for i in range(1,a+1): print(' '*b+' &…… 题解列表 2022年03月29日 0 点赞 0 评论 538 浏览 评分:9.9
不用分奇偶也可以做,超简单 摘要:解题思路:注意事项:参考代码:a,b=input().split() a=int(a) b=list(b) for i in range(a//2): if i!=(a-i-1): …… 题解列表 2022年03月29日 0 点赞 0 评论 629 浏览 评分:9.9