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:想错了555555告诫一下后人

Posted by songzhenqi at 2010-10-20 12:09:28 on Problem 2709
In Reply To:想错了555555告诫一下后人 Posted by:checkoj at 2010-02-03 20:00:25
> 一次如果不只减1:
> 排序: 3 3 3 3
> 减3: 3 0 0 0
> 不能再减了
> 
> 实际上:3 3 3 3
> 减->  3 2 2 2
> 排序->  2 2 2 3
> 减->  2 1 1 2
> 排序->  1 1 2 2
> 减->  1 0 1 1
> 排序->  0 1 1 1
> 减->  0 0 0 0
> 最多可以减4次
> 
> 好可怜

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