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

测试数据的格式和题目描述不符啊

Posted by forif at 2014-03-01 14:33:29 on Problem 2115
题目里不是说 A, B, C, k separated by a single space吗?
我没理解错的话应该是A B C k之间只有一个空格吧,为什么我用
in.readLine().replaceAll("^ +", "").split(" ");
就是RE,用
in.readLine().replaceAll("^ +", "").split(" +");
就AC??
这也太误导人了吧?

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