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

终于AC了,我就不陪你们继续哇哇叫了,加油啊!经验贴

Posted by sjgg at 2009-12-27 19:52:45 on Problem 1002 and last updated at 2009-12-27 19:57:22
1.不用判断大小写
2.读入数据不用字符串数组,一个字符串就可以,字符串长度搞到200
3.用qsort排序字符串
4.No duplicates.后面有点号
5.如果所有数据都过了,qsort用对了,以上都确保正确了,错误肯定出现在计算重复个数的步骤,好好检查下。

数据
3
0000000
0000000
0000000

000-0000 3

你们继续哇吧, 哇哈哈!

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