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:因为输出的应该要是所有可能结果中的最小字典序

Posted by gfedcba at 2009-01-11 21:39:35 on Problem 2488 and last updated at 2009-01-11 21:42:26
In Reply To:到底是哪里错了??? Posted by:onlystruggle at 2008-08-07 15:26:54
const statemove move[8] = { {-2, -1}, {-2, +1}, {-1, -2}, {-1, +2},
{+1, -2}, {+1, +2}, {+2, -1}, {+2, +1} };
改成:
const statemove move[8] = { {-1, -2}, {1, -2}, {-2, -1}, {2, -1},
{-2, 1}, {2, 1}, {-1, 2}, {1, 2} };

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