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 Tejnxizb at 2016-09-10 10:43:23 on Problem 3009
我个人遇到的坑点
1.以为遇到边界可以停下,
The stone gets out of the board.
The game ends in failure.
出界就是 -1,
2.注意起点2的判断,又可以遇到起点而以为终止
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