摘要: 题意:求途中的连通分量,一个点的八个方向相连都算一个连通分量。Sample Input1 1*3 5*@*@***@***@*@*1 8@@****@*5 5 ****@*@@*@*@**@@@@*@@@**@0 0Sample Output0122Sample Input1 1*3 5*@*@**... 阅读全文
posted @ 2014-05-07 20:52 903SW-BAO 阅读(158) 评论(0) 推荐(0) 编辑