多输入输出练习2(Python) 摘要:```python n=int(input()) pi=3.1415 t=[] for i in range(n): r=float(input()) #循环输入半径 s=…… 题解列表 2021年12月10日 0 点赞 0 评论 340 浏览 评分:8.0
1439: 蓝桥杯历届试题-小朋友排队 python 时间超限 摘要: n = int(input()) a = list(map(int,input().strip().split())) a.insert(0,0) b…… 题解列表 2021年12月10日 0 点赞 0 评论 681 浏览 评分:0.0
编写题解 1112: C语言考试练习题_一元二次方程 摘要:解题思路:注意事项:参考代码:import matha,b,c=map(float,input().split())x = -math.sqrt(-c+(b/2*a)**2)-b/2*ay = mat…… 题解列表 2021年12月10日 0 点赞 0 评论 261 浏览 评分:0.0
Python字典映射 摘要:score = int(input())number = score//10switcher = { 10: 'A', 9: 'A', 8: '…… 题解列表 2021年12月10日 0 点赞 0 评论 213 浏览 评分:0.0
编写题解 1118: Tom数 摘要:解题思路:注意事项:参考代码:while True: try: n = str(input()) sum = 0 for i in n: …… 题解列表 2021年12月10日 0 点赞 0 评论 375 浏览 评分:0.0
C语言训练-尼科彻斯定理,可输入999999 摘要:解题思路:注意事项:参考代码:n = int(input())a=int(n**3)b=int(a/n)ls=[]if n%2==0: for i in range((b-int(n/2)*2+1…… 题解列表 2021年12月10日 0 点赞 0 评论 502 浏览 评分:9.9
1436: 蓝桥杯2014年第五届真题-地宫取宝 摘要: n,m,K = map(int,input().strip().split()) mod = 1000000007 l = [[0]*(m+1) for _ in ran…… 题解列表 2021年12月09日 0 点赞 0 评论 533 浏览 评分:8.0
二级C语言-寻找矩阵最值 摘要:解题思路:用二维列表注意事项:参考代码:n = int(input())ls = [[] for j in range(n)]lsc = []for i in range(n): m = lis…… 题解列表 2021年12月08日 0 点赞 0 评论 279 浏览 评分:0.0
二级C语言-温度转换 摘要:解题思路:注意事项:参考代码:def ctof(c): return 32+c*9/5for i in range(-100,155,5): print(f"c={i}->f={'…… 题解列表 2021年12月08日 0 点赞 0 评论 425 浏览 评分:0.0
二级C语言-最小绝对值,列表复制调换 摘要:解题思路:注意事项:参考代码:a = list(map(int,input().split()))b = []for i in a: b.append(abs(i))c=a[:]c[-1]=a[…… 题解列表 2021年12月08日 0 点赞 0 评论 225 浏览 评分:0.0