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 |
这个程序似乎是错的。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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator