1440: 蓝桥杯2013年第四届真题-带分数 摘要: n = int(input()) count = 0 se = {'1', '2', '3', '4', '5', '6', '7', '8', '9'} …… 题解列表 2021年12月13日 0 点赞 1 评论 518 浏览 评分:0.0
[编程入门]水仙花数判断 3个for循环 摘要: for i in range(10): for j in range(10): for k in range(10): …… 题解列表 2021年12月11日 0 点赞 0 评论 548 浏览 评分:9.9
[编程入门]求和训练 摘要: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 评论 278 浏览 评分:6.0
2551.:作文 python 、90%错误的可以看一看! 摘要:### 思路 思路很简单就是用count去记录行数,cur_line_num 去记录当前行是写到第几个了。 对于一个新单词来说,如果( 这个单词长度 + cur_line_num )不超过每行最大…… 题解列表 2021年12月11日 0 点赞 0 评论 323 浏览 评分: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 评论 381 浏览 评分:8.0
1439: 蓝桥杯历届试题-小朋友排队 python 时间超限 摘要: n = int(input()) a = list(map(int,input().strip().split())) a.insert(0,0) b…… 题解列表 2021年12月10日 0 点赞 0 评论 721 浏览 评分: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 评论 296 浏览 评分:0.0
Python字典映射 摘要:score = int(input())number = score//10switcher = { 10: 'A', 9: 'A', 8: '…… 题解列表 2021年12月10日 0 点赞 0 评论 261 浏览 评分:0.0
编写题解 1118: Tom数 摘要:解题思路:注意事项:参考代码:while True: try: n = str(input()) sum = 0 for i in n: …… 题解列表 2021年12月10日 0 点赞 0 评论 473 浏览 评分: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 评论 609 浏览 评分:9.9