https://www.acmicpc.net/problem/16407
16407번: Cops and Robbers
The first line contains three integers n, m, and c (1 ≤ n, m ≤ 30, 1 ≤ c ≤ 26): the dimensions of the grid representing Calirado, and the number of different terrain types. Then follows m lines of exactly n characters each: the map of Calirado. Each charac
www.acmicpc.net
학교가지마 보다 발전된 문제 간선 구조체는 필수가 아님