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 |
Re:求教各位高手指点迷津,我的代码(有注释)总是wa,给点测试数据也行啊In Reply To:求教各位高手指点迷津,我的代码(有注释)总是wa,给点测试数据也行啊 Posted by:silverdog at 2006-06-01 19:49:36 你把关系表示的很好(0, 1,2) 那样的话,计算两个点的关系的时候,每次不用一一考虑了,只要(r1 + r2) % 3就行! 你的程序呢, 我看好像在merge的时候有错误。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator