Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
经过测试,这组数据绝对是过不了!! >30秒后才出结果.In Reply To:谁发些bt的数据来测一下,看看可以把这段代码给TLE不。有兴趣的可以研究一下代码 Posted by:piratelzs at 2006-12-11 21:04:51 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 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator