[编程入门]求和训练 摘要:a, b, c = map(int, input().strip().split())Sum = 0Sum += (a+1)*a/2for i in range(1, b+1): Sum += …… 题解列表 2021年12月11日 0 点赞 0 评论 425 浏览 评分:6.0
2551.:作文 python 、90%错误的可以看一看! 摘要:### 思路 思路很简单就是用count去记录行数,cur_line_num 去记录当前行是写到第几个了。 对于一个新单词来说,如果( 这个单词长度 + cur_line_num )不超过每行最大…… 题解列表 2021年12月11日 0 点赞 0 评论 420 浏览 评分:4.0
多输入输出练习2(Python) 摘要:```python n=int(input()) pi=3.1415 t=[] for i in range(n): r=float(input()) #循环输入半径 s=…… 题解列表 2021年12月10日 0 点赞 0 评论 557 浏览 评分:8.0
1439: 蓝桥杯历届试题-小朋友排队 python 时间超限 摘要: n = int(input()) a = list(map(int,input().strip().split())) a.insert(0,0) b…… 题解列表 2021年12月10日 0 点赞 0 评论 951 浏览 评分: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 评论 500 浏览 评分:0.0
Python字典映射 摘要:score = int(input())number = score//10switcher = { 10: 'A', 9: 'A', 8: '…… 题解列表 2021年12月10日 0 点赞 0 评论 445 浏览 评分:0.0
编写题解 1118: Tom数 摘要:解题思路:注意事项:参考代码:while True: try: n = str(input()) sum = 0 for i in n: …… 题解列表 2021年12月10日 0 点赞 0 评论 762 浏览 评分: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 评论 876 浏览 评分: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 评论 738 浏览 评分: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 评论 512 浏览 评分:0.0