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 |
对一组数据 请问AC的程序算得多少 谢谢!10 4 5 1 2 13 17 19 6 1 2 7 13 17 29 7 1 3 7 11 13 17 29 10 1 2 4 8 16 32 64 12 25 51 我的答案是 541 : 1 2 4 8 16 32 64 12 25 51 但我的程序WA了 我提交了在网上找的程序 AC了 它对这组数据的答案是 510 : 1 2 4 8 16 32 64 12 25 51 但很明显 511=64*7+12*1+51*1 采用了9张邮票 (总价值超过了510) 请AC的大牛为我解疑 谢谢! Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator