题解列表
Minesweeper -题解(Python,暴力搜索)
摘要:## 前言
由于笔者能力问题,所以本题没有采用DFS(~~当然不是因为懒~~)
下面是代码
## 输入
因为python语言的问题,所以每行输入可以当做一个字符数组,分别储存在列表里面。然……
弟弟的作业(python代码)
摘要:import sys
def jud(x):
m = 0
for i in x:
if i == '-' or i == &
1579: 蓝桥杯算法提高VIP-陶陶摘苹果2
摘要:解题思路:注意事项:参考代码:n,m=map(int,input().split())k=list(map(int,input().split()))s=0for i in k: if i>(m……
1480: 模拟计算器
摘要:解题思路:注意事项:参考代码:while True: try: a, b, c = map(str, input().split()) if (c == '+……
1503: 蓝桥杯算法提高VIP-前10名
摘要:解题思路:注意事项:参考代码:n=int(input())lst=list(map(int,input().split()))lst2=sorted(lst,reverse=True)for i in……