zoj1002
摘要:
#include<vector>#include<iostream>usingnamespacestd;intlength,ops;vector<vector<int>>city;intopenCount(intx,inty){intco=0;if(x>0&&city[x-1][y]!=0)co++;if(y>0&&city[x][y-1]!=0)co++;if(x<length-1&&city[x+1][y]!=0)co++;if(y<length-1&&c 阅读全文
posted @ 2011-10-21 15:15 Barryhe 阅读(971) 评论(0) 推荐(0) 编辑