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

简单dfs思想

Posted by 785815369 at 2010-05-08 09:20:31 on Problem 2023
1先找到HAPPY的结点 2dfs搜索每个节点 如果是'C' 则检查后面两个整数中有没有HAPPY所在行的行号 如果有则递归深搜

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