| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
需要注意的几点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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator