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 |
Re:ac总结一下,此题目几处不太好,大家别在这几处浪费时间In Reply To:ac总结一下,此题目几处不太好,大家别在这几处浪费时间 Posted by:diligentboy at 2012-06-27 00:17:33 > 1,无重复的时候要输出“No duplicates. ”,注意,连句话都不能少。 > 2,测试用例中会出现Q和Z,这两个字母要处理 > 3,字符数组要开大些,我开到300,小了结果不正确 > 4,注意电话号码开头是0的,可以试一试这个测试用例: 题目已经给出了条件:Each telephone number consists of a string composed of decimal digits, uppercase letters (excluding Q and Z) and hyphens. Exactly seven of the characters in the string will be digits or letters. Q和Z没有出现 Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator