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 评论 455 浏览 评分:9.9
解 1635: 蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码: n = int(input()) s = list(map(int,input().split())) print(int(sum(s)/len(s)))…… 题解列表 2021年12月29日 0 点赞 0 评论 477 浏览 评分: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 评论 375 浏览 评分: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 评论 850 浏览 评分: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 评论 436 浏览 评分: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 评论 425 浏览 评分:0.0
1584: 蓝桥杯算法训练VIP-判定字符位置(python) 摘要:解题思路:注意事项:参考代码:let =['a','e','i','o','u'] s = input() sum …… 题解列表 2021年12月28日 0 点赞 0 评论 421 浏览 评分: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 评论 402 浏览 评分: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 评论 456 浏览 评分:0.0
最最最简单题解,入门小白也看得懂 摘要:解题思路:首先注意是输入一行数!!!!!!!使用map(x,y)将三个数拿出来。函数意思是将y拿来作用到x上。这里指在y里面拿出来一个数将它int(),就是强制转换为整形变量split()默认是以空格…… 题解列表 2021年12月28日 0 点赞 3 评论 1505 浏览 评分:9.4