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_21753253_17652\Main.java:9: 错误: 非法字符: '#'
#include <iostream>
^
0_0_21753253_17652\Main.java:9: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_21753253_17652\Main.java:10: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_21753253_17652\Main.java:11: 错误: 非法字符: '#'
#include <vector>
^
0_0_21753253_17652\Main.java:19: 错误: 需要class, interface或enum
int Next[1010];
^
0_0_21753253_17652\Main.java:31: 错误: 需要class, interface或enum
void Get_next(int * s, int n){
^
0_0_21753253_17652\Main.java:33: 错误: 需要class, interface或enum
    Next[0] = 0;
    ^
0_0_21753253_17652\Main.java:34: 错误: 需要class, interface或enum
    Next[1] = 0;
    ^
0_0_21753253_17652\Main.java:35: 错误: 需要class, interface或enum
    int j = 0;
    ^
0_0_21753253_17652\Main.java:36: 错误: 需要class, interface或enum
    for(int i = 1; i < n; i++){
    ^
0_0_21753253_17652\Main.java:36: 错误: 需要class, interface或enum
    for(int i = 1; i < n; i++){
                   ^
0_0_21753253_17652\Main.java:36: 错误: 需要class, interface或enum
    for(int i = 1; i < n; i++){
                          ^
0_0_21753253_17652\Main.java:39: 错误: 需要class, interface或enum
        if(s[i]&s[j])
        ^
0_0_21753253_17652\Main.java:41: 错误: 需要class, interface或enum
        Next[i+1] = j;
        ^
0_0_21753253_17652\Main.java:42: 错误: 需要class, interface或enum
    }
    ^
0_0_21753253_17652\Main.java:47: 错误: 需要class, interface或enum
    for(int i = 0; i < n; i++){
    ^
0_0_21753253_17652\Main.java:47: 错误: 需要class, interface或enum
    for(int i = 0; i < n; i++){
                   ^
0_0_21753253_17652\Main.java:47: 错误: 需要class, interface或enum
    for(int i = 0; i < n; i++){
                          ^
0_0_21753253_17652\Main.java:50: 错误: 需要class, interface或enum
        if(s[j]&(1<<S[i]))
        ^
0_0_21753253_17652\Main.java:52: 错误: 需要class, interface或enum
        if(j == l){
        ^
0_0_21753253_17652\Main.java:53: 错误: 需要class, interface或enum
            for(int k = i-l+1; k <= i; k++){
                               ^
0_0_21753253_17652\Main.java:53: 错误: 需要class, interface或enum
            for(int k = i-l+1; k <= i; k++){
                                       ^
0_0_21753253_17652\Main.java:55: 错误: 需要class, interface或enum
            }
            ^
0_0_21753253_17652\Main.java:57: 错误: 需要class, interface或enum
            j = Next[j];
            ^
0_0_21753253_17652\Main.java:58: 错误: 需要class, interface或enum
        }
        ^
0_0_21753253_17652\Main.java:64: 错误: 需要class, interface或enum
    char q;
    ^
0_0_21753253_17652\Main.java:65: 错误: 需要class, interface或enum
    int s[1010] = {0};
    ^
0_0_21753253_17652\Main.java:66: 错误: 需要class, interface或enum
    vector<int> S;
    ^
0_0_21753253_17652\Main.java:67: 错误: 需要class, interface或enum
    scanf("%d",&len);
    ^
0_0_21753253_17652\Main.java:68: 错误: 需要class, interface或enum
    for(int i = 0; i < len; i++){
    ^
0_0_21753253_17652\Main.java:68: 错误: 需要class, interface或enum
    for(int i = 0; i < len; i++){
                   ^
0_0_21753253_17652\Main.java:68: 错误: 需要class, interface或enum
    for(int i = 0; i < len; i++){
                            ^
0_0_21753253_17652\Main.java:70: 错误: 需要class, interface或enum
        scanf("%d",&t);
        ^
0_0_21753253_17652\Main.java:71: 错误: 需要class, interface或enum
        for(int j = 0; j < t; j++){
        ^
0_0_21753253_17652\Main.java:71: 错误: 需要class, interface或enum
        for(int j = 0; j < t; j++){
                       ^
0_0_21753253_17652\Main.java:71: 错误: 需要class, interface或enum
        for(int j = 0; j < t; j++){
                              ^
0_0_21753253_17652\Main.java:73: 错误: 需要class, interface或enum
            s[i] |= (1<<p);
            ^
0_0_21753253_17652\Main.java:74: 错误: 需要class, interface或enum
        }
        ^
0_0_21753253_17652\Main.java:77: 错误: 需要class, interface或enum
    while(~scanf("%c",&q) && q!='\n'){
    ^
0_0_21753253_17652\Main.java:79: 错误: 需要class, interface或enum
    }
    ^
0_0_21753253_17652\Main.java:81: 错误: 需要class, interface或enum
    Search(S, s, S.size(), len);
    ^
0_0_21753253_17652\Main.java:82: 错误: 需要class, interface或enum
    return 0;
    ^
0_0_21753253_17652\Main.java:83: 错误: 需要class, interface或enum
}
^
43 个错误


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-25 00:03:52, Gzip enabled