*문제 출처는 백준에 있습니다.문제 제목: 1987번 알파벳문제 사이트: https://www.acmicpc.net/problem/1987 나의 풀이 (시간초과) 흠.. 최대한 최적화 했다고 생각했는데 아니였나보다 한번 더 풀어볼 것import sysfrom collections import dequeinput = sys.stdin.readliner,c = map(int,input().split())maps = []set_maps = set()directions = ((1, 0), (0, 1),(0, -1),(-1, 0))max_len = 1for i in range(r): tmp = list(input().rstrip()) maps.append(tmp) for j in tmp: ..