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:谁能帮忙解释一下sample啊???

Posted by jennal at 2007-08-30 14:53:29 on Problem 3032
In Reply To:谁能帮忙解释一下sample啊??? Posted by:youngercool at 2007-05-05 15:32:55
sample:
4 => 2 1 4 3
题目说把第一张牌拿到最后,然后看到的是1,把1拿出来:
4 3 2
然后把前两张牌拿到最后,把2拿出来:
4 3
然后把三张牌拿到最后:
顺序是:4 3 => 3 4 => 4 3 => 3 4
现在看到3,把3拿出来,只剩下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