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 |
记录路径二维化一维结果wa的同学可以看看数组储存时二维化一维,是x*h+y,就是x坐标乘y的最大长度再加y,结果我一直乘w,就是x的总长度 丧尽天良啊,害我debug一晚上 假设坐标有(x,y),且0<x<m,0<y<n;则可用sum=x*n+y来储存这个坐标,此时(sum/n,sum%n)就是这个坐标 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator