2552: NOIP2017提高组-小凯的疑惑 摘要:解题思路:注意事项:参考代码:n,m=map(int,input().split()) print(n*m-n-m)…… 题解列表 2022年03月31日 0 点赞 0 评论 569 浏览 评分:9.9
2547: [CSP-J2019] 数字游戏 摘要:解题思路:注意事项:参考代码:print(input().count('1'))…… 题解列表 2022年03月31日 0 点赞 0 评论 598 浏览 评分:2.0
密码破译[使用Python] 摘要:str1 = input() strList = list(str1) count = 0 chrNum = 0 while count < len(strList): chrNum…… 题解列表 2022年03月31日 0 点赞 0 评论 430 浏览 评分:0.0
python-动态规划dp解题(简洁明了) 摘要:解题思路:01背包问题,利用动态规划思想,创建三个一维数组w[i],v[i],dp[i],分别用来存总价值=重要度*价格,价格,最大价值。注意事项:参考代码:n,m=map(int,input().s…… 题解列表 2022年03月31日 0 点赞 0 评论 867 浏览 评分:9.9
蓝桥杯2020年第十一届省赛真题-解码 摘要:```python s = input() b = '' #新的空字符 for i in range(len(s)): if 48 …… 题解列表 2022年03月31日 0 点赞 0 评论 753 浏览 评分:9.9
Python第一天1 a + b 摘要:解题思路: 本来可能会出现多个空格的情况,但是想着还是算了,否则的话,可以使用正则表达式,但是没有必要注意事项:这道题不是很严谨参考代码:while True: str1 = input()…… 题解列表 2022年03月31日 0 点赞 0 评论 634 浏览 评分:0.0
满分阿尔法积 摘要:解题思路:巨坑一定要!!!!!!!!!strip()注意事项:参考代码:s=input().strip()while len(s)!=1: n=1 for i in s: i…… 题解列表 2022年03月30日 0 点赞 0 评论 436 浏览 评分:9.9
python 编写题解 1615: 蓝桥杯算法训练VIP-友好数 摘要:解题思路:注意事项:参考代码:def pr(n): ls=set() for i in range(1,n+1): if n%i==0:ls.add(str(i)) #…… 题解列表 2022年03月30日 0 点赞 0 评论 426 浏览 评分:0.0
蓝桥杯基础练习VIP-矩阵乘法python动态规划 摘要: n,m = map(int,input().split()) li = [] for i in range(n): li.append(list(…… 题解列表 2022年03月30日 0 点赞 0 评论 630 浏览 评分:0.0