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 |
测试数据的格式和题目描述不符啊题目里不是说 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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator