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 Sona at 2009-02-07 22:08:59 on Problem 1204
裸Trie就能过,枚举起始点和8个方向,不推荐用AC自动机,可能有的大牛能写的更快,但是Aho-Corasick在这儿毕竟小题大作。。。
祝你成功!

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