링크🔗https://www.acmicpc.net/problem/20920🗒️파이썬 코드 풀이import sysinput = sys.stdin.readlineN, M = map(int, input().split()) # 단어 개수, 단어 길이word_lst = {}for n in range(N): word = input().rstrip() if len(word) >= M : if word in word_lst: word_lst[word] += 1 else: word_lst[word] = 1 word_lst = sorted(word_lst.items(),key = lambda x: (-x[1],-len(x[0]), x[0]..