编写题解 1242: 矩阵转置 摘要:解题思路:注意事项:参考代码:n=int(input()) ls=[] for i in range(n): ls.append(list(map(int,input().split(…… 题解列表 2022年03月05日 0 点赞 0 评论 234 浏览 评分:0.0
1244: 破解简单密码 摘要:解题思路:注意事项:参考代码:dicnum={} for i in range(ord('a'),ord('d')): dicnum[chr(i)]=2 …… 题解列表 2022年03月05日 0 点赞 0 评论 209 浏览 评分:0.0
Let the Balloon Rise_python 摘要:解题思路:1.while循环判断n的值是否为0 2.for循环输入颜色的值,将其存入列表中 3.用count()函数计数,并且将列表值和计数值放进字典中 4.对字典进行排序,按照要求找到需要的出现最多…… 题解列表 2022年03月05日 0 点赞 0 评论 219 浏览 评分:0.0
编写题解 1246: 第几天 摘要:解题思路:注意事项:参考代码:def isy(st): if st%100==0: if st%400==0: return 1 & 题解列表 2022年03月05日 0 点赞 0 评论 153 浏览 评分:0.0
大神的探险 之 寻找宝藏-题解--python DFS 摘要:解题思路:注意事项: 多组输入数据的处理参考代码:def dfs(x,y,t): global mintime,step if t > mint…… 题解列表 2022年03月05日 0 点赞 0 评论 389 浏览 评分:9.9
结构体之时间设计 摘要:解题思路:注意事项: 一月份要单独考虑参考代码:a=list(map(int,input().split()))b=a[0]c=a[1]d=a[2]sum=0e=[31,29,31,30,31,30,…… 题解列表 2022年03月04日 0 点赞 0 评论 319 浏览 评分:0.0
[编程入门]电报加密 摘要:解题思路:注意事项:参考代码:a=input()b=[]for i in a: if i>='a' and i<'z'or i>='A' and …… 题解列表 2022年03月04日 0 点赞 0 评论 233 浏览 评分:0.0
Huffuman树费用--python 摘要:解题思路:注意事项:参考代码:def create_huffman(nums): cost = 0 while len(nums) > 1: pa = nums.…… 题解列表 2022年03月04日 0 点赞 0 评论 196 浏览 评分:0.0
翻硬币——python 摘要:解题思路: 相邻的若干对硬币总共只有三种状态: 1.独立的一对相同硬币 2.相邻的两对相反硬币 3.两对相反硬币中间夹着n对相同硬币 &nbs 题解列表 2022年03月04日 0 点赞 0 评论 680 浏览 评分:9.9
1238: 演讲大赛评分 摘要:解题思路:注意事项:参考代码:while True: try: ls=list(map(str,input().split())) name=ls[-1]…… 题解列表 2022年03月04日 0 点赞 0 评论 245 浏览 评分:9.0