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:6 1(1 0 2 1 1 3)这组数据为什么是-1而不是4

Posted by Dwayne at 2014-12-14 21:32:24 on Problem 3009
In Reply To:6 1(1 0 2 1 1 3)这组数据为什么是-1而不是4 Posted by:cd117 at 2014-12-04 11:22:21
> 6 1
> 1 0 2 1 1 3
> 是否可以这样走(S代表当前石头所在的位置):
> 第一步: left:0 S 2 1 1 3
> 第二步:right:0 0 S 0 1 3
> 第三步:right:0 0 2 S 0 3
> 第四步:right:0 0 2 0 0 S
> 结束
> 
> 为什么不可以?
就是4吧..题目给的样例也是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