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 bill160 at 2013-05-15 01:27:26 on Problem 1002
1)号码长度至少为41,40不行.调了好久发现是这个问题...
char phone[40]; <----不行
char phone[41]; <-----OK

2)无重复的时候要输出
No duplicates.
printf("No duplicates.\n");

然后就没有了.我用STL的set<>做的.

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