2869: 字符串最大跨距 摘要:解题思路:注意事项:参考代码:S, S1, S2 = map(str, input().split(",")) if S.find(S1) == -1 or S.find(S2) == -1: …… 题解列表 2024年03月26日 0 点赞 0 评论 455 浏览 评分:9.9
题目 2656: 蓝桥杯2022年第十三届省赛真题-刷题统计 摘要:a,b,n = map(int , input().split())sum = a * 5 + b * 2count = 0j = 0i = n // summ = n - i * sum - j *…… 题解列表 2024年03月26日 0 点赞 0 评论 293 浏览 评分:9.9
小白随便写的,记录一下 摘要:```python def sort_time(t_list): n = len(t_list) # 传入一个时间列表 for i in range(n): …… 题解列表 2024年03月25日 0 点赞 0 评论 454 浏览 评分:0.0
2868: 最长最短单词 摘要:解题思路:注意事项:参考代码:s = input().split() s1 = [len(i) for i in s] max = max(s1) min = min(s1) for i in…… 题解列表 2024年03月25日 0 点赞 0 评论 421 浏览 评分:4.0
2867: 单词的长度 摘要:解题思路:注意事项:参考代码:s = input().split() s1 = [] for i in s: s1.append(len(i)) print(",".join(map(…… 题解列表 2024年03月25日 0 点赞 0 评论 289 浏览 评分:0.0
2865: 紧急措施 摘要:解题思路:注意事项:strip有神奇的魔力参考代码:email = input().strip() N = int(input()) arr = [] for i in range(N): …… 题解列表 2024年03月25日 0 点赞 0 评论 730 浏览 评分:0.0
小白随便写的,记录一下 摘要:```python def partition(li): key = li[0] new_li = [] # 从左找比key小的 for i in li[::-1…… 题解列表 2024年03月25日 0 点赞 0 评论 397 浏览 评分:0.0
2866: 过滤多余的空格 摘要:解题思路: 注意事项:参考代码:print(" ".join(input().split()))…… 题解列表 2024年03月25日 0 点赞 0 评论 371 浏览 评分:0.0
2864: 单词替换 摘要:解题思路:注意事项:参考代码:s = input().strip().split() s1 = input().strip() s2 = input().strip() a = [s2 if i…… 题解列表 2024年03月25日 0 点赞 1 评论 155 浏览 评分:0.0
2863: 删除单词后缀 摘要:解题思路:注意事项:参考代码:s = input() if 'er' in s[-2:] or 'ly' in s[-2:]: print(s[0:-2])…… 题解列表 2024年03月25日 0 点赞 0 评论 348 浏览 评分:0.0