| ||||||||||
| 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:我想问一下大家!!!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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator