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

这里提供一组数据~WA的请看

Posted by lintao at 2009-03-13 01:11:51 on Problem 3009 and last updated at 2009-03-13 01:14:45
5 4
0 3 0 0 0
0 1 1 0 0
0 1 0 2 1
0 1 1 0 0

输出 -1

原因:stone不滑动是无法撞击block的,即若
XX
0*0
XX
则石头只能向左或者向右移动~

*表示石头
0表示空位
X表示block

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