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 |
送数据~话说简单贪心应该过不了现场赛,我的程序跑完现场赛的大数据用了7s多。。。 input: 0 4 50 2 10 1 20 2 30 1 4 50 2 10 1 15 2 27 1 5 1 3 15 2 5 3 20 2 10 1 7 20 1 2 1 10 3 100 2 8 2 5 20 50 10 10 13 2 18 1 68 10 72 8 11 7 41 2 48 7 15 7 34 1 13 8 5 3 2 65 1 61 3 60 2 86 1 output: 0 80 77 40 185 302 207 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator