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

Re:根据楼主的代码改编的Java代码,不知哪里出了问题

Posted by Pcz at 2014-06-20 01:20:39 on Problem 1002
In Reply To:根据楼主的代码改编的Java代码,不知哪里出了问题 Posted by:zpysr at 2014-03-01 23:09:53
是不是在这儿:
int n;
n = in.nextInt();
in.nextLine();
int[] data = new int[n];
for (int i = 0; i < n; i++) {
            s = in.nextLine().toCharArray();
            data[i] = Hash();
        }

是不是多读了一行?不过我的java好久不用都快忘干净了TAT

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