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 评论 775 浏览 评分:0.0
蓝桥杯算法提高VIP-Torry的困惑(提高型)-题解(Python代码) 摘要:找前100000个素数的时间已经优化到几秒了,还是通过不了,有没有大佬能指点一下还能这么优化 ` n = int(input()) import time start = time.…… 题解列表 2020年04月13日 0 点赞 1 评论 829 浏览 评分: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 评论 870 浏览 评分:8.0
绝对值排序-题解(Python代码) 摘要:用sorted()函数将绝对值从大到小排序,返回一个排序后的新列表 ```python import math while True: lit=list(map(int,input()…… 题解列表 2020年04月11日 0 点赞 1 评论 1007 浏览 评分:7.3
计算两点间的距离-题解(Python代码) 摘要:凑字数凑字数凑字数凑字数凑字数 ```python import math while True: x,y,z,w=map(int,input().split()) prin…… 题解列表 2020年04月11日 0 点赞 0 评论 1362 浏览 评分:6.0
众数问题-题解(Python代码) 摘要:```python n=int(input()) lis=[] a=b=0 for i in range(0,n): lis.append(int(input())) for i …… 题解列表 2020年04月11日 0 点赞 0 评论 489 浏览 评分:0.0
字符串的输入输出处理-题解(Python代码) 摘要:```python n=int(input()) while True: if n>0: print(input(),end='\n\n') else: …… 题解列表 2020年04月11日 0 点赞 3 评论 1721 浏览 评分:9.2
用筛法求之N内的素数。 -题解(Python代码) 摘要:```python n=int(input()) for i in range(2,n+1): for j in range(2,int(i/2)+1):#尽可能的缩短时间,range里不能有…… 题解列表 2020年04月11日 0 点赞 0 评论 665 浏览 评分:4.0
[编程入门]结构体之成绩统计2-题解(Python代码) 摘要:```python n=int(input()) sn=a=b=c=0 d=[] for i in range(0,n): lis=input().split() if i…… 题解列表 2020年04月11日 0 点赞 0 评论 1210 浏览 评分:9.6
[编程入门]结构体之成绩记录-题解(Python代码) 摘要:凑字数凑字数凑字数凑字数凑字数 ```python n=int(input()) for i in range(0,n): print(','.join(list(input().sp…… 题解列表 2020年04月11日 0 点赞 0 评论 780 浏览 评分:8.0