题解列表

筛选

直接遍历(Python)

摘要:while 1:    s=list(input())    if len(s)==0:        break    for i in range(len(s)):        if s[i]=……

直接查找(Python)

摘要:a=[]num=0for i in range(100,201):    t = 0    for j in range(2,i):        if i % j == 0:            ……

修改数组题解

摘要:解题思路:暴力模拟到并查集注意事项:参考代码:暴力模拟 没有ACN = int(input()) ##inputList = [int(temp) for temp in input().strip……

直接查找(Python)

摘要:S={}n=int(input())while n>0:    t=int(input())    if t in S:        S[t]=S[t]+1    else:        S[t]……

母牛的故事Python 9行解法

摘要:解题思路:注意事项:参考代码:list = [1,2,3]##第一年1只,第二年2只,第三年3只 for i in range(3,1000):     list.append(list[i-1]……