小白随便写的,记录一下 摘要:```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 评论 382 浏览 评分:0.0
2873: 字符串p型编码 摘要:解题思路:注意事项:参考代码:s = input() + ' ' a = "" b = 1 for i in range(len(s) - 1): if s[i] ==…… 题解列表 2024年03月26日 1 点赞 0 评论 475 浏览 评分:0.0
1273: ISBN码 摘要:解题思路:注意事项:参考代码:while True: try: s = input() s1 = "".join(s.split('-')…… 题解列表 2024年03月26日 0 点赞 0 评论 579 浏览 评分:0.0
编写题解 2815: 求特殊自然数,python超简单 摘要:# 定义函数 decimal_to_base,用于将十进制数转换为指定基数的字符串表示 def decimal_to_base(n, base): # 如果输入的数是0,则直接返回…… 题解列表 2024年03月26日 0 点赞 0 评论 501 浏览 评分:0.0
2871: 单词倒排 摘要:解题思路:注意事项:参考代码:print(" ".join(input().split()[::-1]))…… 题解列表 2024年03月26日 0 点赞 0 评论 509 浏览 评分:0.0
2870: 单词翻转 摘要:解题思路:注意事项:参考代码:s = input().split() arr = [] for i in s: arr.append(i[::-1]) print(" ".join(a…… 题解列表 2024年03月26日 0 点赞 0 评论 583 浏览 评分:0.0
2869: 字符串最大跨距 摘要:解题思路:注意事项:参考代码:S, S1, S2 = map(str, input().split(",")) if S.find(S1) == -1 or S.find(S2) == -1: …… 题解列表 2024年03月26日 0 点赞 0 评论 596 浏览 评分: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 评论 445 浏览 评分:9.9
小白随便写的,记录一下 摘要:```python def sort_time(t_list): n = len(t_list) # 传入一个时间列表 for i in range(n): …… 题解列表 2024年03月25日 0 点赞 0 评论 610 浏览 评分: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 评论 541 浏览 评分:4.0