数字统计-题解(Python代码) 摘要:```python n=int(input()) lis=[0,0,0,0,0,0,0,0,0,0] for i in range(1,n+1): while i>=10: …… 题解列表 2020年04月13日 0 点赞 0 评论 637 浏览 评分:8.0
换位置-题解(Python代码) 摘要:斐波纳切数列 ```python n=int(input()) for i in range(n): lis=[0,1,1,2,4] m=int(input()) …… 题解列表 2020年04月13日 0 点赞 0 评论 689 浏览 评分:0.0
排列 (Python代码) 摘要:代码完全符合题意,但是50%错,记得前面有个排序题我用for写的也是50%错 四位数首位如果不可以为零 ```python n=int(input()) for i in range(n)…… 题解列表 2020年04月13日 0 点赞 0 评论 738 浏览 评分:0.0
数列排序-题解(Python代码) 摘要:```python n=int(input()) for i in range(n): lis=list(map(int,input().split())) a=[] …… 题解列表 2020年04月13日 0 点赞 0 评论 610 浏览 评分:0.0
字符排列问题-题解(Python代码) 摘要:排列组合问题,n个数有n!种排列组合,题目要求非重,所以还要除以每个字符出现的次数 ```python n=int(input()) s=input() lis=[] sn=1 for i…… 题解列表 2020年04月13日 0 点赞 0 评论 592 浏览 评分:9.9
[偶数求和]-题解(Python代码) 摘要:```python while True: n,m=map(int,input().split()) a=n//m sn=b=0 for i in range…… 题解列表 2020年04月13日 0 点赞 1 评论 780 浏览 评分:6.0
C语言训练-邮票组合问题* (Python代码) 摘要:```python lis=[] for i in range(0,5): for j in range(0,4): if i*3+j*5 not in lis and…… 题解列表 2020年04月13日 0 点赞 0 评论 656 浏览 评分:0.0
蓝桥杯算法提高VIP-Torry的困惑(提高型)-题解(Python代码) 摘要:找前100000个素数的时间已经优化到几秒了,还是通过不了,有没有大佬能指点一下还能这么优化 ` n = int(input()) import time start = time.…… 题解列表 2020年04月13日 0 点赞 1 评论 774 浏览 评分:9.9
C语言训练-谁家孩子跑最慢* -题解(Python代码) 摘要:这题真无聊 简单法 ```python print('w') ``` 麻烦法 ```python z=[] w=[8,] l=[9,] a=[7,6,5,4,3,2,1] b…… 题解列表 2020年04月12日 0 点赞 0 评论 810 浏览 评分:8.0
绝对值排序-题解(Python代码) 摘要:用sorted()函数将绝对值从大到小排序,返回一个排序后的新列表 ```python import math while True: lit=list(map(int,input()…… 题解列表 2020年04月11日 0 点赞 1 评论 898 浏览 评分:7.3