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

wa了几次,给个经验

Posted by kuailezhish at 2012-03-22 21:32:31 on Problem 1816
trie+dfs的时候,
要注意*结尾的情况,找到可匹配的时候要继续向后找;
还有,判断?匹配和字符匹配的时候一定要保证长度不超字符串的长度,
否则自己调数据都是对的,交就wa。。。

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