1771: [编程入门]链表之节点删除 摘要:解题思路:注意事项:参考代码:m,n = map(int,input().split()) a={} b={} c=[] for i in range(m): k,l = map(i…… 题解列表 2021年12月29日 0 点赞 0 评论 235 浏览 评分:2.0
python 一行代码 摘要:参考代码: print(" ".join(str(i) for i in(sorted(list(map(int,input().split()))))))用了三个python内置函数以及迭代输出…… 题解列表 2021年12月29日 0 点赞 0 评论 541 浏览 评分:9.9
1770: [编程入门]链表之报数问题 摘要:解题思路:所有人看成一个列表,报到3时出圈看成3之前的人移到列表最后去,继续报3再移到后面去直到只乘2人,第一个报1和3出圈 n = int(input()) if n ==1: pri…… 题解列表 2021年12月29日 0 点赞 2 评论 400 浏览 评分:6.0
编写题解 1671: 小九九 摘要:for i in range(1,10): for j in range(1,i+1): print('%-6s'%(f'{j}*{i}={i*j}…… 题解列表 2021年12月29日 0 点赞 0 评论 362 浏览 评分:0.0
编写题解 1670: 拆分位数 摘要:解题思路:注意事项:参考代码: a= input() for i in a[::-1]: print(i,end=' ')…… 题解列表 2021年12月29日 0 点赞 0 评论 303 浏览 评分: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 评论 320 浏览 评分:9.9
解 1635: 蓝桥杯算法训练VIP-整数平均值 摘要:解题思路:注意事项:参考代码: n = int(input()) s = list(map(int,input().split())) print(int(sum(s)/len(s)))…… 题解列表 2021年12月29日 0 点赞 0 评论 318 浏览 评分: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 评论 300 浏览 评分: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 评论 626 浏览 评分: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 评论 257 浏览 评分:0.0