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

Re:经过测试,这组数据绝对是过不了!! >30秒后才出结果.

Posted by LittleKid at 2007-08-10 19:22:27 on Problem 1011
In Reply To:经过测试,这组数据绝对是过不了!! >30秒后才出结果. Posted by:winboycool at 2007-04-22 21:40:01
> 64
> 40 40 30 35 35 26 15 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
> 
> 40 40 43 42 42 41 10 4 40 40 40 40 40 40 40 40 40 40 40 40 40 
> 
> 40 25 39 46 40 10 4 40 40 37 18 17 16 15 40 40 40 40 40 40 40 
> 
> 40
> 
> //答案:
> 第1 of 5根木棍:
> 46+43+42+42+41+40+40+40+40+40+40=454
> 第2 of 5根木棍:
> 40+40+40+40+40+40+40+40+40+40+40+10+4=454
> 第3 of 5根木棍:
> 40+40+40+40+40+40+40+40+40+40+40+10+4=454
> 第4 of 5根木棍:
> 40+40+40+40+40+40+40+40+40+40+39+15=454
> 第5 of 5根木棍:
> 40+40+40+40+40+37+35+35+30+26+25+18+17+16+15=454
> 
> 454

我的程序一直不出结果,但是15msAC了

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