Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:两个版本C优于C++;C只需0M秒AC,6行代码搞定(算法高手)

Posted by ar_dong at 2021-12-03 14:28:45 on Problem 1017
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator