Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
给数据算出来是10的一些建议stones[x][y]=min(stones[x][y],t) 我相信这是大多数人记录陨石坠落时间的方法,没毛病,但是要注意 stones[x+dir[i][0]][y+dir[i][1]]=min(stones[x+dir[i][0]][y+dir[i][1]],t) 临近点进行min判断的时候要用stones[x+dir[i][0]][y+dir[i][1]] 最开始我用的是stones[x][y],导致最后结果是10,修改后就没问题了。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator