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

题目有歧义 !没说清这种情况。(WA 的看下)

Posted by huhuhuhh at 2010-08-20 20:34:58 on Problem 2138 and last updated at 2010-08-20 20:35:25
In Reply To:真的是要注意长度小于3的词....WA多次 Posted by:winboycool at 2007-06-22 21:33:17
1.the first cow thinks of a three letter word from the Sacred Travel Game Dictionary (STGD). 
2.The integer D followed by a space followed by a legal three letter word. 

从这2句应该可以知道输入的3个字母的字符串可以在下面列表中找到的。
可是数据里却有
1 cal
ca

ca

3 cal
scc
gfd
sdsa

scc

这类数据 囧 !
解决方法 :出现这样的情况 一律输出 第一个

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