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

这个程序似乎是错的。

Posted by aoxboxcox at 2009-10-26 12:30:45 on Problem 1184
In Reply To:BFS也能做到0MS,这个世界太疯狂了,贴代码 Posted by:yzhw at 2009-08-05 23:17:26
输入:507203 709204
应该输出:9
程序输出:10

过程:
step1: up
step2: up //把5变成7
step3: swap1 //交换第一个和最后个
step4: down //把4变成3
step5: swap1 //交换回来
step6: right
step7: right //移到7的位置
step8: up
step9: up //把它变成9

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