Num 35 : HDOJ : 1241 Oil Deposits [ 深度优先搜索算法 ] [ 非

The input file contains one or more grids. Each grid begins with a line containing m and n, the number of rows and columns in the grid, separated by a single space. If m = 0 it signals the end of the input; otherwise 1 <= m <= 100 and 1 <= n <= 100. Following this are m lines of n characters each (not counting the end-of-line characters). Each character corresponds to one plot, and is either `*’, representing the absence of oil, or `@’, representing an oil pocket.

,真凉爽啊!青山绿水映入我的眼中,景色怡人啊!

Num 35 : HDOJ : 1241 Oil Deposits [ 深度优先搜索算法 ] [ 非

相关文章:

你感兴趣的文章:

标签云: