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 |
先调整雪花的位置使状态唯一先调整雪花的位置使得6个长度连接成的数字最小(翻转的情况一并考虑),这样处理之后就不必考虑每一片雪花的不同状态了,后面要处理的数据量就从12n变为n,用hash或排序都可以。 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator