python简易解法 摘要:解题思路:注意事项:参考代码:while True: try: a=input() b=''.join(input().split()) c=''.join((a…… 题解列表 2022年03月05日 0 点赞 0 评论 594 浏览 评分:0.0
结构体之成绩统计2 摘要:解题思路:注意事项:注意判断俩个同学成绩一样的情况参考代码:a=int(input())b=[]sum=0sun=0suk=0n=0w=[]k=0t=[]for i in range(a): c…… 题解列表 2022年03月05日 0 点赞 0 评论 515 浏览 评分:0.0
字符串输入输出函数-题解 defGetReal(inpn):print(inpn)defGetString(inps):print(inps)defmain():inpn=input('pleaseinputanumber:\n')inps=input('pleaseinputastring:\n')GetReal(inpn) 题解列表 2022年03月05日 0 点赞 0 评论 754 浏览 评分:0.0
1686: 数据结构-定位子串 摘要:解题思路:注意事项:参考代码:while True: try: a,b=input().split() print(a.find(b)+1) e…… 题解列表 2022年03月05日 0 点赞 0 评论 608 浏览 评分:0.0
Mispelling4_python 摘要:解题思路:注意事项:参考代码:n=int(input())list1=[]for i in range(n): list1.append(input().split())for i in ran…… 题解列表 2022年03月05日 0 点赞 0 评论 593 浏览 评分:0.0
编写题解 1242: 矩阵转置 摘要:解题思路:注意事项:参考代码:n=int(input()) ls=[] for i in range(n): ls.append(list(map(int,input().split(…… 题解列表 2022年03月05日 0 点赞 0 评论 501 浏览 评分:0.0
1244: 破解简单密码 摘要:解题思路:注意事项:参考代码:dicnum={} for i in range(ord('a'),ord('d')): dicnum[chr(i)]=2 …… 题解列表 2022年03月05日 0 点赞 0 评论 692 浏览 评分:0.0
Let the Balloon Rise_python 解题思路:1.while循环判断n的值是否为02.for循环输入颜色的值,将其存入列表中3.用count()函数计数,并且将列表值和计数值放进字典中4.对字典进行排序,按照要求找到需要的出现最多次数的颜色,输出注意事项:dic1=sorted(dic.items(), 题解列表 2022年03月05日 0 点赞 0 评论 540 浏览 评分:0.0
编写题解 1246: 第几天 摘要:解题思路:注意事项:参考代码:def isy(st): if st%100==0: if st%400==0: return 1 & 题解列表 2022年03月05日 0 点赞 0 评论 473 浏览 评分:0.0
大神的探险 之 寻找宝藏-题解--python DFS 摘要:解题思路:注意事项: 多组输入数据的处理参考代码:def dfs(x,y,t): global mintime,step if t > mint…… 题解列表 2022年03月05日 0 点赞 0 评论 853 浏览 评分:9.9