pythonsfrbtrhtrhhfgbfdbfb 摘要:解题思路:注意事项:参考代码:t = int(input()) ans = 0for i in range(t): s = input() a = s.split() if a[0]=…… 题解列表 2024年03月27日 0 点赞 0 评论 262 浏览 评分:0.0
排序问题(2) 摘要:解题思路:注意事项:参考代码:a=list(map(int,input().split()))a.sort()b=a[::-1]for i in b: print(i,end=' …… 题解列表 2024年03月27日 0 点赞 0 评论 217 浏览 评分:0.0
随便写写,记录一下 摘要:```python def turn_the_coin(s1, s2): new_s1 = list(s1) new_s2 = list(s2) change_func…… 题解列表 2024年03月27日 0 点赞 0 评论 337 浏览 评分:0.0
蓝桥杯算法提高VIP-摆花 摘要:解题思路:注意事项:参考代码:n, m= map(int, input().split())t = [0]+list(map(int, input().split()))dp=[[0]*(m+1) f…… 题解列表 2024年03月26日 0 点赞 0 评论 211 浏览 评分:0.0
题解 1099: 校门外的树 摘要:解题思路:注意事项:参考代码:l,m=map(int,input().split())x=[]for i in range(0,m): a,b=map(int,input().split()) …… 题解列表 2024年03月26日 0 点赞 0 评论 219 浏览 评分:0.0
注意换行输出 摘要:解题思路:注意事项:参考代码:a=[]n,m=map(int,input().split())for i in range(0,n+m): a.append(list(map(int,input…… 题解列表 2024年03月26日 0 点赞 0 评论 219 浏览 评分:0.0
2657: 蓝桥杯2022年第十三届省赛真题-修剪灌木 摘要:n = int(input())a = 0for i in range(0,n): if i == 0 or i == (n -1): a = (2 * n - 2) els…… 题解列表 2024年03月26日 0 点赞 0 评论 288 浏览 评分:9.9
小白随便写的,记录一下 摘要:```python def max_join(a, b, n): a.sort() b.sort(reverse=True) max_join = 0 # 记录最大配…… 题解列表 2024年03月26日 0 点赞 0 评论 225 浏览 评分:0.0
小白随便写的,记录一下 摘要:```python rmb = [100, 50, 10, 5, 2, 1] def change_money(li): new_li = [0 for i in range(len(r…… 题解列表 2024年03月26日 0 点赞 0 评论 285 浏览 评分:0.0
2873: 字符串p型编码 摘要:解题思路:注意事项:参考代码:s = input() + ' ' a = "" b = 1 for i in range(len(s) - 1): if s[i] ==…… 题解列表 2024年03月26日 0 点赞 0 评论 391 浏览 评分:0.0