| ||||||||||
| 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:根据楼主的代码改编的Java代码,不知哪里出了问题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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator