2583: 蓝桥杯2020年第十一届省赛真题-单词分析 摘要:解题思路:注意事项:参考代码:st=input() sett=set(st) dic={} for i in st: if i not in dic: dic[i]=…… 题解列表 2022年03月31日 0 点赞 0 评论 479 浏览 评分:8.0
题解 1020: [编程入门]猴子吃桃的问题 摘要:解题思路:从最后一天倒推结果注意事项:1 第10天没有吃 只计算9天2 设每一天的总数为a总数a=吃掉(a/2+1)+剩余aa存在迭代关系 总数a=(剩余aa+1)*2剩余aa是第二天的总数a3 …… 题解列表 2022年03月31日 0 点赞 0 评论 480 浏览 评分:6.0
一行导包,两行代码 摘要:解题思路:from datetime import date year,month,day=map(int,input().strip().split()) print(date(year,mon…… 题解列表 2022年03月31日 0 点赞 0 评论 402 浏览 评分:9.9
2576: 蓝桥杯2020年第十一届省赛真题-解码(python) 摘要:解题思路:注意事项:参考代码:st=input() for i in range(len(st)): if st[i].isdigit(): print(st[i-1]*…… 题解列表 2022年03月31日 0 点赞 0 评论 546 浏览 评分:2.0
2575: 蓝桥杯2020年第十一届省赛真题-整除序列 摘要:解题思路:注意事项:参考代码:st=int(input()) print(st,end=' ') while st>1: print(st//2,end=' &#…… 题解列表 2022年03月31日 0 点赞 0 评论 427 浏览 评分:0.0
2580: 蓝桥杯2020年第十一届省赛真题-分类计数 摘要:解题思路:注意事项:参考代码:st=input() A,a,d=0,0,0 for i in st: if i.isdigit(): d+=1 if i.is…… 题解列表 2022年03月31日 0 点赞 0 评论 477 浏览 评分:0.0
python 也就五六行吧 100 摘要:n=int(input().strip());la=[] for i in range(n): l=list(map(int,input().split())) if len(l…… 题解列表 2022年03月31日 0 点赞 0 评论 564 浏览 评分:9.9
2552: NOIP2017提高组-小凯的疑惑 摘要:解题思路:注意事项:参考代码:n,m=map(int,input().split()) print(n*m-n-m)…… 题解列表 2022年03月31日 0 点赞 0 评论 517 浏览 评分:9.9
2547: [CSP-J2019] 数字游戏 摘要:解题思路:注意事项:参考代码:print(input().count('1'))…… 题解列表 2022年03月31日 0 点赞 0 评论 557 浏览 评分:2.0
密码破译[使用Python] 摘要:str1 = input() strList = list(str1) count = 0 chrNum = 0 while count < len(strList): chrNum…… 题解列表 2022年03月31日 0 点赞 0 评论 349 浏览 评分:0.0