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 |
Re:两个版本C优于C++;C只需0M秒AC,6行代码搞定(算法高手)In Reply To:两个版本C优于C++;C只需0M秒AC,6行代码搞定(算法高手) Posted by:Spider1314 at 2020-02-09 23:47:35 这个题目比较简单,没有什么特殊组合更省空间 1# 2#箱子就是填空的 5#用1#填 4#用2#填(2#不够也要借着填) 3#用2#填满再由1#填 最后剩下的2#还有剩余再由1#填 如果2#是借成负数了由1#还 最后1#负数就不还了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator