[传智杯]软件工程实习-题解(Python代码) 摘要:```python import math m, n = map(int, input().split()) lis = [] for i in range(m): x, y = i…… 题解列表 2020年04月30日 0 点赞 0 评论 1352 浏览 评分:0.0
大鱼吃小鱼-题解(Python代码) 摘要:```python n,m=map(int,input().split()) lis=list(map(int,input().split())) for i in range(m): …… 题解列表 2020年04月28日 0 点赞 0 评论 2326 浏览 评分:6.7
C语言考试练习题_排列-题解(Python代码) 摘要:### 用for遍历会导致输出的结果和样例输出的结果顺序不一致 所以运行不通过。所以需要添加多一层循环控制输出的顺序 从样例输出看的出来 题目要求遍历顺序是123,124,134,234 所以…… 题解列表 2020年04月22日 0 点赞 1 评论 1405 浏览 评分:9.8
GC的苦恼-题解(Python代码) 摘要:```python while True: n=eval(input()) if 0…… 题解列表 2020年04月20日 0 点赞 0 评论 1275 浏览 评分:0.0
陈教主的三角形-题解(Python代码) 摘要:```python while True: a,b,c=map(int,input().strip().split()) if(a+b>c and a+c>b and b+c>a…… 题解列表 2020年04月20日 0 点赞 0 评论 1012 浏览 评分:2.0
妹子杀手的故事-题解(Python代码) 摘要:```python while True: a,b=map(int,input().strip().split()) if (a==0 and b==0): b…… 题解列表 2020年04月20日 0 点赞 0 评论 902 浏览 评分:0.0
数字整除-题解(Python代码) 摘要:这种贼大的数,还是Python来的快且简单。。。。 ```python while True: num = int(input()) if num == 0: …… 题解列表 2020年04月18日 0 点赞 0 评论 896 浏览 评分:0.0
倒杨辉三角形-题解(Python代码) 摘要:```python while True: n=int(input()) for i in reversed(range(1,n+1)): print(' …… 题解列表 2020年04月17日 0 点赞 0 评论 2049 浏览 评分:9.9
检查一个数是否为质数 (Python描述) 摘要:### python没有专门判断是否是正整数的函数,可以自己封装一个函数,每次使用的时候可以调用函数判断一下,如果是非正整数则会报异常,正整数会正常返回 def zhengshu(a): …… 题解列表 2020年04月16日 0 点赞 0 评论 1296 浏览 评分:6.6
[出圈]-题解(Python代码) 摘要:```python while True: m,n=map(int,input().split()) lis=[i for i in range(1,m+1)] k=1…… 题解列表 2020年04月15日 0 点赞 1 评论 1020 浏览 评分:6.0