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 feifeiwang_sp at 2013-01-10 15:32:09 on Problem 1001
把前人提供的所有变态数据都测试都对, 但是依然WA, 我抓狂了半个晚上……

然后把定义的 char p[6] 改成 char p[7], 提交, 于是通过……

经验就是, 定义的数据最好比题目规定的范围大一点点。

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