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

Re:总结几个爱出问题的地方

Posted by wjhssfs at 2009-03-21 12:37:24 on Problem 1002
In Reply To:总结几个爱出问题的地方 Posted by:hldyxh at 2008-07-28 12:28:58
> 1,对于大小写的处理
> 2,对于Q,q,Z,z,-以及各种非法字符的处理(直接跳过,忽视其存在即可)
谢谢大哥啦
> 3,对于号码000-0000的输出的处理
> 4,输出"No duplicates.",别忘了最后有一个点
> 5,考虑如下的输入:
>    2
>    1234567
>    1-2-3-4-5-6-7
> 
>    能否得到输出
>    123-4567 2
> 
> 提高速度:我用的是C++,但是cin和cout太慢了,直接换scanf和printf。如果要排序,qsort()没有sort()速度快。

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