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:我想问一下大家!!!

Posted by longcjx at 2009-08-22 17:25:19 on Problem 1083
In Reply To:我想问一下大家!!! Posted by:810974380 at 2009-07-24 14:51:55
> 
> 
> 测试数据:
> 10
> 2 3
> 4 5
> 6 7
> 8 9
> 10 11
> 12 13
> 14 15
> 16 17
> 18 19
> 20 21
>        得到的结果到底是10 还是20 ? ? ?
>        想来想去也想不通, 为什么会是20! ! !


当移动2->3时....4->5是不能移动的....但同时20->21也在进行...
所以:1.2->3
       6->7
        10->11
         14->15
          18->19
    2.4->5
       8->9
        12->13
          16->17
           20->21

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