Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

先调整雪花的位置使状态唯一

Posted by randygx at 2018-10-27 19:32:29 on Problem 3349
先调整雪花的位置使得6个长度连接成的数字最小(翻转的情况一并考虑),这样处理之后就不必考虑每一片雪花的不同状态了,后面要处理的数据量就从12n变为n,用hash或排序都可以。

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator