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

AC了 ,终于想到了问题数据,

Posted by lin_ at 2005-08-16 11:16:39 on Problem 1451
In Reply To:有没有测试数据阿?付俺的Main.java Posted by:lin_ at 2005-08-15 21:44:06
终于ac拉,思索了n小时

用的java,在北大ac,那里的题号是1451

终于想到了问题数据
3
abyb 3
abye 13
aaza 4
1
22921
我原来是
a
ab
aby
abyb
应该是
a
ab
aby
aaza
,
我的数据结构是没错,原来是按照单个点的权深搜,搜到就output,应该是遍历所有可能节点,找到对于每个输入字母数权最大的对应结果,哈哈哈,当时气急败坏到处问人要数据 还好都没有给  ^O^

还是要谢谢hawk

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