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 xiaomi at 2003-11-25 13:57:42 on Problem 1011
In Reply To:用什么算法不遗漏阿 Posted by:first at 2003-11-25 13:07:46
先计算出能拼出多少sticks,然后一根一根的拼,要回溯的
给你一组数据,10根,长度:
21 14 13 11 9 6 4 3 2 1
答案是21

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