下午360笔试还是挺友好的,感觉不难,各位大佬看看我的第二道出了什么问题 第一道,hash求出现最多的字符AC def max_count(x): dic = {} for i in x: dic[i] = dic.get(i,0) +1 return max(dic.values()) if __name__ == '__main__': n = input() print(max_count(n)) 2题分析,题目求的是终点的数目,我求的是起点。。。 应该能AC代码 def sport(N,D): ...