2019.03.22) 소프트웨어 마에스트로 마지막 스퍼트 3편(탐색) - 1987, 2294 (PyPy3)
테스트 시험을 봐봤는데 다들 쉬웠다. 물론 본시험은 어렵겠지만.. 열심히 해보도록하자. 1987번 12345678910111213141516171819202122232425262728293031323334353637383940R, C = map(int, input().split(' ')) ma = list() for _ in range(R): ma.append(list(input())) visited = dict() stack = list()stack.append(((0, 0), {ma[0][0]}, 1)) result = 0while stack: (i, j), his, w = stack.pop() result = max(result, w) if i > 0: if not ma[i - 1][j] in hi..
2019.03.22