题解列表

筛选

编写题解 1282: 公交汽车

摘要:解题思路:注意事项:参考代码:l = list(map(int,input().strip().split()))n = int(input())dp = [0 for i in range(n)]d……

1177: 三角形

摘要:解题思路:注意事项:参考代码:t = int(input())for x in range(t):    n = int(input())    l = []    l = [ list(map(in……

菜鸡暴力解法,直接遍历出所有坐标

摘要:解题思路:遍历出需要挪树的具体坐标,再删除列表中重复的坐标,其值去减去其树的总数,就等于剩下的树注意事项:参考代码:# a表示这段路一共有多少棵树,b表示这段路一共有多少个区域a,b = map(in……