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 913106840325 at 2014-07-09 15:46:43 on Problem 1002
我自己老是wa,看了一下后边几页的discuss,看到一个大神的总结
diligentboy at 2012-06-27 00:17:33 on Problem 1002
1,无重复的时候要输出“No duplicates. ”,注意,连句话都不能少。
2,测试用例中会出现Q和Z,这两个字母要处理
3,字符数组要开大些,我开到300,小了结果不正确
4,注意电话号码开头是0的,可以试一试这个测试用例:
4
0000000
0010001
0000000
0010001
5,输出中空格不能用多个连续空格或tab,这样会出现Presentation Error 

以上几个地方很容易出问题,但是没有多大价值,很浪费大家时间。

注意Q和Z,还有输入字符串的数组的大小,,,,就这样,感谢大神!!

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