蓝桥杯基础练习VIP-时间转换-题解(Python代码) 不会用数学算的点进这里 10行 摘要:```python s = int(input()) h = m = 0 while s>=60: s -= 60 m += 1 #s减去60秒 等于 m加上了一…… 题解列表 2020年02月02日 0 点赞 0 评论 1331 浏览 评分:9.9
蓝桥杯基础练习VIP-报时助手-题解(Python代码) 字典 函数 摘要: ```python h,m = map(int,input().split()) clo…… 题解列表 2020年02月01日 0 点赞 0 评论 1174 浏览 评分:7.3
蓝桥杯基础练习VIP-分解质因数-题解(Python代码) 摘要:```python def fun(i): if i in listS: #如果是素数 return i else: #如果不是素数…… 题解列表 2020年02月01日 0 点赞 3 评论 1130 浏览 评分:9.9
蓝桥杯基础练习VIP-FJ的字符串-题解(Python代码) 递归方法 摘要:```python listABC = [chr(i) for i in range(65,65+26)] #生成A-Z的26个字母 def ABC(n): # 递归函数 …… 题解列表 2020年02月01日 0 点赞 0 评论 1092 浏览 评分:9.9
蓝桥杯2013年第四届真题-错误票据-题解(Python代码) 摘要:```python count = int(input()) listNum = [] #用户输入的数 while count>0: # 由用户输入count行的数据,放进…… 题解列表 2020年02月01日 0 点赞 0 评论 358 浏览 评分:0.0
Tom数-题解(Python代码) 摘要:代码如下: ```python while True: print(sum([int(i) for i in input()])) ``` 循环加sum函数,然后里面将输入的字符串遍…… 题解列表 2020年02月01日 0 点赞 0 评论 726 浏览 评分:0.0
蓝桥杯算法提高VIP-分分钟的碎碎念-题解(Python代码) 摘要:递归求出次数即可 ```python data=[int(input()) for _ in range(int(input()))] f=lambda x:(x and f(data[x-1]…… 题解列表 2020年02月01日 0 点赞 0 评论 607 浏览 评分:9.9
蓝桥杯2013年第四届真题-错误票据-题解(Python代码) 摘要:回来啦! 文科生的艰难旅程要继续了! 加油吧! 这道题用python的话直接排序,然后看看缺什么就好。 ```python n=int(input()) l=[] for i in ra…… 题解列表 2020年01月31日 0 点赞 0 评论 395 浏览 评分:0.0
蓝桥杯算法提高VIP-色盲的民主-题解(Python代码)py开荒柘,简单题 摘要:简单题,实现起来,有些蠢,仅供参考 ```python n=int(input()) k=0 L=[] re=[] while k…… 题解列表 2020年01月31日 0 点赞 0 评论 603 浏览 评分:6.0
蓝桥杯 数字游戏-题解(Python代码) 没用公式法,暴力,超时 86% 摘要:```python n,k,T = map(int,input().split()) sum = 1 theSum = 0 # 栋栋说的数字 theSumCount…… 题解列表 2020年01月31日 0 点赞 0 评论 956 浏览 评分:0.0