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

这题跟你的初始方向设置有关系, poj数据不够大, 建议加数据, 内详

Posted by xiaofengsheng at 2009-12-27 00:00:55 on Problem 1475
方向顺序设置如下时, WA
char dir[] = {'w', 'n', 'e', 's'};
char DIR[] = {'W', 'N', 'E', 'S'};

改为如下顺序时, AC
char dir[] = {'n', 's', 'w', 'e' };
char DIR[] = {'N', 'S', 'W', 'E' };

说明数据还是不够.

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