编写题解 1670: 拆分位数 摘要:解题思路:注意事项:参考代码: a= input() for i in a[::-1]: print(i,end=' ')…… 题解列表 2021年12月29日 0 点赞 0 评论 264 浏览 评分:0.0
1636: 蓝桥杯算法训练VIP-整除问题 摘要:解题思路:注意事项:参考代码:a,b,c = map(int,input().split()) for i in range(a,b+1): if i % c ==0: …… 题解列表 2021年12月29日 0 点赞 0 评论 289 浏览 评分:9.9
解 1635: 蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码: n = int(input()) s = list(map(int,input().split())) print(int(sum(s)/len(s)))…… 题解列表 2021年12月29日 0 点赞 0 评论 276 浏览 评分:0.0
586: 蓝桥杯算法训练VIP-A+B problem 摘要:解题思路:注意事项:参考代码:while True: try: a,b=map(int,input().strip().split()) print(a+b) except: …… 题解列表 2021年12月29日 0 点赞 0 评论 268 浏览 评分:9.9
编写题解 1585: 蓝桥杯算法训练VIP-链表数据求和操作 摘要:解题思路:注意事项:参考代码:s=c=0 while True: try: a,b=map(int,input().split()) s += a c += b excep…… 题解列表 2021年12月29日 0 点赞 0 评论 520 浏览 评分:9.9
整除问题直接分离数字循环判断 摘要:解题思路:注意事项:参考代码:a=input()min=int(a.split()[0])max=int(a.split()[1])factor=int(a.split()[2])for i in r…… 题解列表 2021年12月28日 0 点赞 0 评论 217 浏览 评分:0.0
数组查找和替换 摘要:解题思路:注意事项:参考代码:a=input()m=int(a.split()[0])n=int(a.split()[1])x=[]c=input().split()for i in range(0,…… 题解列表 2021年12月28日 0 点赞 0 评论 220 浏览 评分:0.0
1584: 蓝桥杯算法训练VIP-判定字符位置(python) 摘要:解题思路:注意事项:参考代码:let =['a','e','i','o','u'] s = input() sum …… 题解列表 2021年12月28日 0 点赞 0 评论 280 浏览 评分:9.9
使用set来统计数 摘要:解题思路:注意事项:参考代码:a=int(input())b=input().split()m=[]for i in range(0,len(b)): m.append(int(b[i]))n=…… 题解列表 2021年12月28日 0 点赞 0 评论 210 浏览 评分:0.0
数对直接输出结果 摘要:解题思路:注意事项:参考代码:a=int(input())for i in range(1,a+1): if a%i==0: print(str(i)+" * "+str(int(…… 题解列表 2021年12月28日 0 点赞 0 评论 218 浏览 评分:0.0