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:《挑战程序设计竞赛》这道题例程这个if是想干啥的??

Posted by powerpants at 2019-04-09 20:56:24 on Problem 3253
In Reply To:Re:《挑战程序设计竞赛》这道题例程这个if是想干啥的?? Posted by:powerpants at 2019-04-09 20:55:18
最短的板正好是最后一个的话,这种情况不需要防止,只要把两个最短的板子加起来存到前面,N-1的位置丢弃掉就好,所以这个if没用

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