| ||||||||||
| 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 | |||||||||
哭死呀In Reply To:就那么过的,简单的我觉得有些不可思议 Posted by:snoopy at 2006-10-21 21:20:32 5555555555555555555555555555555555555555555555555555555 我五个小时就干这一道题目,,,可就是RTE,,,, > 估计是题目描叙有点唬人,把大家都弄晕了,最后看懂题后想水,其他人都bs我...还好一次就写过了 > 就是把所有的si算出来,逆序排,ci逆序排,然后就是对应的计算sum(abs(si-ci)); > 算si是用的两个集合取并,感觉没看懂题能更好的理解这一点 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator