#1094 :
Lost in the City
时间限制
:10000ms
单点时限
:1000ms
内存限制
:256MB
描述Little Hi gets lost in the city. He does not know where he is. He does not know which direction is north.
Fortunately, Little Hi has a map of the city. The map can be considered as a grid of N*M blocks. Each block is numbered by a pair of integers. The block at the north-west corner is (1, 1) and the one at the south-east corner is (N, M). Each block is represented by a character, describing the construction on that block: '. ...


雷达卡


京公网安备 11010802022788号







