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_22150272_11568\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_22150272_11568\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_22150272_11568\Main.java:2: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_22150272_11568\Main.java:3: 错误: 非法字符: '#'
#include <iostream>
^
0_0_22150272_11568\Main.java:4: 错误: 非法字符: '#'
#include <cstring>
^
0_0_22150272_11568\Main.java:5: 错误: 非法字符: '#'
#include <queue>
^
0_0_22150272_11568\Main.java:7: 错误: 需要class, interface或enum
const int Maxlen = 26000001;
^
0_0_22150272_11568\Main.java:8: 错误: 需要class, interface或enum
int Len, Left;
^
0_0_22150272_11568\Main.java:9: 错误: 需要class, interface或enum
char buf[Maxlen];
^
0_0_22150272_11568\Main.java:10: 错误: 需要class, interface或enum
inline int read() {
^
0_0_22150272_11568\Main.java:12: 错误: 需要class, interface或enum
    while (buf[Left] < '0' || '9' < buf[Left])
    ^
0_0_22150272_11568\Main.java:14: 错误: 需要class, interface或enum
    while ('0' <= buf[Left] && buf[Left] <= '9')
    ^
0_0_22150272_11568\Main.java:16: 错误: 需要class, interface或enum
    return x;
    ^
0_0_22150272_11568\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_22150272_11568\Main.java:21: 错误: 需要class, interface或enum
    int root, L;
    ^
0_0_22150272_11568\Main.java:22: 错误: 需要class, interface或enum
    int newnode()
    ^
0_0_22150272_11568\Main.java:24: 错误: 需要class, interface或enum
        for(int i = 0; i < 26; i++)
                       ^
0_0_22150272_11568\Main.java:24: 错误: 需要class, interface或enum
        for(int i = 0; i < 26; i++)
                               ^
0_0_22150272_11568\Main.java:26: 错误: 需要class, interface或enum
        end[L++] = 0;
        ^
0_0_22150272_11568\Main.java:27: 错误: 需要class, interface或enum
        return L-1;
        ^
0_0_22150272_11568\Main.java:28: 错误: 需要class, interface或enum
    }
    ^
0_0_22150272_11568\Main.java:32: 错误: 需要class, interface或enum
        root = newnode();
        ^
0_0_22150272_11568\Main.java:33: 错误: 需要class, interface或enum
    }
    ^
0_0_22150272_11568\Main.java:39: 错误: 需要class, interface或enum
        for(int i = 0; i < len; i++)
        ^
0_0_22150272_11568\Main.java:39: 错误: 需要class, interface或enum
        for(int i = 0; i < len; i++)
                       ^
0_0_22150272_11568\Main.java:39: 错误: 需要class, interface或enum
        for(int i = 0; i < len; i++)
                                ^
0_0_22150272_11568\Main.java:43: 错误: 需要class, interface或enum
            now = next[now][buf[i]-'a'];
            ^
0_0_22150272_11568\Main.java:44: 错误: 需要class, interface或enum
        }
        ^
0_0_22150272_11568\Main.java:46: 错误: 需要class, interface或enum
    }
    ^
0_0_22150272_11568\Main.java:50: 错误: 需要class, interface或enum
        fail[root] = root;
        ^
0_0_22150272_11568\Main.java:51: 错误: 需要class, interface或enum
        for(int i = 0;i < 26;i++)
        ^
0_0_22150272_11568\Main.java:51: 错误: 需要class, interface或enum
        for(int i = 0;i < 26;i++)
                      ^
0_0_22150272_11568\Main.java:51: 错误: 需要class, interface或enum
        for(int i = 0;i < 26;i++)
                             ^
0_0_22150272_11568\Main.java:54: 错误: 需要class, interface或enum
            else
            ^
0_0_22150272_11568\Main.java:57: 错误: 需要class, interface或enum
                Q.push(next[root][i]);
                ^
0_0_22150272_11568\Main.java:58: 错误: 需要class, interface或enum
            }
            ^
0_0_22150272_11568\Main.java:62: 错误: 需要class, interface或enum
            Q.pop();
            ^
0_0_22150272_11568\Main.java:63: 错误: 需要class, interface或enum
            for(int i = 0;i < 26;i++)
            ^
0_0_22150272_11568\Main.java:63: 错误: 需要class, interface或enum
            for(int i = 0;i < 26;i++)
                          ^
0_0_22150272_11568\Main.java:63: 错误: 需要class, interface或enum
            for(int i = 0;i < 26;i++)
                                 ^
0_0_22150272_11568\Main.java:66: 错误: 需要class, interface或enum
                else
                ^
0_0_22150272_11568\Main.java:69: 错误: 需要class, interface或enum
                    Q.push(next[now][i]);
                    ^
0_0_22150272_11568\Main.java:70: 错误: 需要class, interface或enum
                }
                ^
0_0_22150272_11568\Main.java:77: 错误: 需要class, interface或enum
        int res = 0;
        ^
0_0_22150272_11568\Main.java:78: 错误: 需要class, interface或enum
        for(int i = 0;i < len;i++)
        ^
0_0_22150272_11568\Main.java:78: 错误: 需要class, interface或enum
        for(int i = 0;i < len;i++)
                      ^
0_0_22150272_11568\Main.java:78: 错误: 需要class, interface或enum
        for(int i = 0;i < len;i++)
                              ^
0_0_22150272_11568\Main.java:81: 错误: 需要class, interface或enum
            int temp = now;
            ^
0_0_22150272_11568\Main.java:82: 错误: 需要class, interface或enum
            while( temp != root )
            ^
0_0_22150272_11568\Main.java:85: 错误: 需要class, interface或enum
                end[temp] = 0;
                ^
0_0_22150272_11568\Main.java:86: 错误: 需要class, interface或enum
                temp = fail[temp];
                ^
0_0_22150272_11568\Main.java:87: 错误: 需要class, interface或enum
            }
            ^
0_0_22150272_11568\Main.java:90: 错误: 需要class, interface或enum
    }
    ^
0_0_22150272_11568\Main.java:92: 错误: 需要class, interface或enum
char tbuf[100010], mx[100010];
^
0_0_22150272_11568\Main.java:93: 错误: 需要class, interface或enum
Trie ac;
^
0_0_22150272_11568\Main.java:94: 错误: 需要class, interface或enum
int main()
^
0_0_22150272_11568\Main.java:97: 错误: 需要class, interface或enum
        buf[Len] = ' ';
        ^
0_0_22150272_11568\Main.java:98: 错误: 需要class, interface或enum
    int T;
    ^
0_0_22150272_11568\Main.java:99: 错误: 需要class, interface或enum
    int n;
    ^
0_0_22150272_11568\Main.java:101: 错误: 需要class, interface或enum
    T = read();
    ^
0_0_22150272_11568\Main.java:102: 错误: 需要class, interface或enum
    while( T-- )
    ^
0_0_22150272_11568\Main.java:106: 错误: 需要class, interface或enum
        ac.init();
        ^
0_0_22150272_11568\Main.java:107: 错误: 需要class, interface或enum
        int mx_len = 0;
        ^
0_0_22150272_11568\Main.java:110: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++)
        ^
0_0_22150272_11568\Main.java:110: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++)
                      ^
0_0_22150272_11568\Main.java:110: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++)
                            ^
0_0_22150272_11568\Main.java:117: 错误: 需要class, interface或enum
            int ct = 0;
            ^
0_0_22150272_11568\Main.java:118: 错误: 需要class, interface或enum
            while ('a' <= buf[Left] && buf[Left] <= 'z') {
            ^
0_0_22150272_11568\Main.java:120: 错误: 需要class, interface或enum
            }
            ^
0_0_22150272_11568\Main.java:139: 错误: 需要class, interface或enum
                for(int i = 0; i < ct; i++) {
                               ^
0_0_22150272_11568\Main.java:139: 错误: 需要class, interface或enum
                for(int i = 0; i < ct; i++) {
                                       ^
0_0_22150272_11568\Main.java:141: 错误: 需要class, interface或enum
                }
                ^
0_0_22150272_11568\Main.java:146: 错误: 需要class, interface或enum
            }
            ^
0_0_22150272_11568\Main.java:149: 错误: 需要class, interface或enum
        }
        ^
0_0_22150272_11568\Main.java:153: 错误: 需要class, interface或enum
        int ret = ac.query(mx, mx_len);
        ^
0_0_22150272_11568\Main.java:155: 错误: 需要class, interface或enum
        if(ret == n) {
        ^
0_0_22150272_11568\Main.java:157: 错误: 需要class, interface或enum
            for(int i = 0; i < mx_len; i++) {
                           ^
0_0_22150272_11568\Main.java:157: 错误: 需要class, interface或enum
            for(int i = 0; i < mx_len; i++) {
                                       ^
0_0_22150272_11568\Main.java:159: 错误: 需要class, interface或enum
            }
            ^
0_0_22150272_11568\Main.java:162: 错误: 需要class, interface或enum
        }else {
        ^
0_0_22150272_11568\Main.java:164: 错误: 需要class, interface或enum
        }
        ^
0_0_22150272_11568\Main.java:168: 错误: 需要class, interface或enum
}
^
82 个错误


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-16 16:54:35, Gzip enabled