F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_18000688_4755\Main.java:43: 错误: 非法字符: '#'
#include <iostream>
^
0_0_18000688_4755\Main.java:43: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_18000688_4755\Main.java:44: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_18000688_4755\Main.java:45: 错误: 非法字符: '#'
#include <cstring>
^
0_0_18000688_4755\Main.java:46: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_18000688_4755\Main.java:49: 错误: 需要class, interface或enum
using namespace std;
^
0_0_18000688_4755\Main.java:51: 错误: 需要class, interface或enum
int a[N], dp[N],Maxlen[N];
^
0_0_18000688_4755\Main.java:52: 错误: 需要class, interface或enum
int main()
^
0_0_18000688_4755\Main.java:55: 错误: 需要class, interface或enum
     while(~scanf("%d", &n))
     ^
0_0_18000688_4755\Main.java:59: 错误: 需要class, interface或enum
        for(int i = 0; i < n; ++i)
        ^
0_0_18000688_4755\Main.java:59: 错误: 需要class, interface或enum
        for(int i = 0; i < n; ++i)
                       ^
0_0_18000688_4755\Main.java:59: 错误: 需要class, interface或enum
        for(int i = 0; i < n; ++i)
                              ^
0_0_18000688_4755\Main.java:62: 错误: 需要class, interface或enum
                Maxlen[i] = 1;
                ^
0_0_18000688_4755\Main.java:63: 错误: 需要class, interface或enum
            }
            ^
0_0_18000688_4755\Main.java:65: 错误: 需要class, interface或enum
        for(int i = 0; i < n ; ++i)
                       ^
0_0_18000688_4755\Main.java:65: 错误: 需要class, interface或enum
        for(int i = 0; i < n ; ++i)
                               ^
0_0_18000688_4755\Main.java:67: 错误: 需要class, interface或enum
             for(j = i + 1; j < n ; j++)
                            ^
0_0_18000688_4755\Main.java:67: 错误: 需要class, interface或enum
             for(j = i + 1; j < n ; j++)
                                    ^
0_0_18000688_4755\Main.java:72: 错误: 需要class, interface或enum
             }
             ^
0_0_18000688_4755\Main.java:75: 错误: 需要class, interface或enum
    }
    ^
0_0_18000688_4755\Main.java:77: 错误: 需要class, interface或enum
}
^
21 个错误


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-22 21:43:46, Gzip enabled