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_21695973_23776\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_21695973_23776\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_21695973_23776\Main.java:2: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_21695973_23776\Main.java:3: 错误: 非法字符: '#'
#include <iostream>
^
0_0_21695973_23776\Main.java:4: 错误: 非法字符: '#'
#include <string.h>
^
0_0_21695973_23776\Main.java:5: 错误: 非法字符: '#'
#include <queue>
^
0_0_21695973_23776\Main.java:7: 错误: 需要class, interface或enum
int ans[100010];
^
0_0_21695973_23776\Main.java:8: 错误: 需要class, interface或enum
struct Trie
^
0_0_21695973_23776\Main.java:11: 错误: 需要class, interface或enum
    int root,L;
    ^
0_0_21695973_23776\Main.java:12: 错误: 需要class, interface或enum
    int newnode()
    ^
0_0_21695973_23776\Main.java:14: 错误: 需要class, interface或enum
        for(int i = 0; i < 27; i++)
                       ^
0_0_21695973_23776\Main.java:14: 错误: 需要class, interface或enum
        for(int i = 0; i < 27; i++)
                               ^
0_0_21695973_23776\Main.java:16: 错误: 需要class, interface或enum
        end[L++] = 0;
        ^
0_0_21695973_23776\Main.java:17: 错误: 需要class, interface或enum
        return L-1;
        ^
0_0_21695973_23776\Main.java:18: 错误: 需要class, interface或enum
    }
    ^
0_0_21695973_23776\Main.java:22: 错误: 需要class, interface或enum
        root = newnode();
        ^
0_0_21695973_23776\Main.java:23: 错误: 需要class, interface或enum
        dep[root]=0;
        ^
0_0_21695973_23776\Main.java:24: 错误: 需要class, interface或enum
    }
    ^
0_0_21695973_23776\Main.java:29: 错误: 需要class, interface或enum
        int now = root;
        ^
0_0_21695973_23776\Main.java:30: 错误: 需要class, interface或enum
        for(int i = 0; i < len; i++)
        ^
0_0_21695973_23776\Main.java:30: 错误: 需要class, interface或enum
        for(int i = 0; i < len; i++)
                       ^
0_0_21695973_23776\Main.java:30: 错误: 需要class, interface或enum
        for(int i = 0; i < len; i++)
                                ^
0_0_21695973_23776\Main.java:34: 错误: 需要class, interface或enum
                dep[next[now][buf[i]-'a']]=dep[now]+1;
                ^
0_0_21695973_23776\Main.java:35: 错误: 需要class, interface或enum
            }
            ^
0_0_21695973_23776\Main.java:37: 错误: 需要class, interface或enum
        }
        ^
0_0_21695973_23776\Main.java:39: 错误: 需要class, interface或enum
    }
    ^
0_0_21695973_23776\Main.java:43: 错误: 需要class, interface或enum
        fail[root] = root;
        ^
0_0_21695973_23776\Main.java:44: 错误: 需要class, interface或enum
        for(int i = 0; i < 27; i++)
        ^
0_0_21695973_23776\Main.java:44: 错误: 需要class, interface或enum
        for(int i = 0; i < 27; i++)
                       ^
0_0_21695973_23776\Main.java:44: 错误: 需要class, interface或enum
        for(int i = 0; i < 27; i++)
                               ^
0_0_21695973_23776\Main.java:47: 错误: 需要class, interface或enum
            else
            ^
0_0_21695973_23776\Main.java:50: 错误: 需要class, interface或enum
                Q.push(next[root][i]);
                ^
0_0_21695973_23776\Main.java:51: 错误: 需要class, interface或enum
            }
            ^
0_0_21695973_23776\Main.java:55: 错误: 需要class, interface或enum
            Q.pop();
            ^
0_0_21695973_23776\Main.java:56: 错误: 需要class, interface或enum
            for(int i = 0; i < 27; i++)
            ^
0_0_21695973_23776\Main.java:56: 错误: 需要class, interface或enum
            for(int i = 0; i < 27; i++)
                           ^
0_0_21695973_23776\Main.java:56: 错误: 需要class, interface或enum
            for(int i = 0; i < 27; i++)
                                   ^
0_0_21695973_23776\Main.java:59: 错误: 需要class, interface或enum
                else
                ^
0_0_21695973_23776\Main.java:62: 错误: 需要class, interface或enum
                    Q.push(next[now][i]);
                    ^
0_0_21695973_23776\Main.java:63: 错误: 需要class, interface或enum
                }
                ^
0_0_21695973_23776\Main.java:69: 错误: 需要class, interface或enum
        int now = root;
        ^
0_0_21695973_23776\Main.java:70: 错误: 需要class, interface或enum
        for(int i = 0; i < len; i++)
        ^
0_0_21695973_23776\Main.java:70: 错误: 需要class, interface或enum
        for(int i = 0; i < len; i++)
                       ^
0_0_21695973_23776\Main.java:70: 错误: 需要class, interface或enum
        for(int i = 0; i < len; i++)
                                ^
0_0_21695973_23776\Main.java:73: 错误: 需要class, interface或enum
            int temp = now;
            ^
0_0_21695973_23776\Main.java:74: 错误: 需要class, interface或enum
            while( temp != root )
            ^
0_0_21695973_23776\Main.java:79: 错误: 需要class, interface或enum
                }
                ^
0_0_21695973_23776\Main.java:81: 错误: 需要class, interface或enum
            }
            ^
0_0_21695973_23776\Main.java:84: 错误: 需要class, interface或enum
    }
    ^
0_0_21695973_23776\Main.java:86: 错误: 需要class, interface或enum
string buf[100100];
^
0_0_21695973_23776\Main.java:87: 错误: 需要class, interface或enum
Trie ac;
^
0_0_21695973_23776\Main.java:88: 错误: 需要class, interface或enum
int main()
^
0_0_21695973_23776\Main.java:91: 错误: 需要class, interface或enum
    int n,m,T;
    ^
0_0_21695973_23776\Main.java:92: 错误: 需要class, interface或enum
    cin>>T;
    ^
0_0_21695973_23776\Main.java:93: 错误: 需要class, interface或enum
    while(T--){
    ^
0_0_21695973_23776\Main.java:95: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++){
        ^
0_0_21695973_23776\Main.java:95: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++){
                      ^
0_0_21695973_23776\Main.java:95: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++){
                            ^
0_0_21695973_23776\Main.java:97: 错误: 需要class, interface或enum
            int len=buf[i].size();
            ^
0_0_21695973_23776\Main.java:98: 错误: 需要class, interface或enum
            buf[i]+='{';
            ^
0_0_21695973_23776\Main.java:99: 错误: 需要class, interface或enum
            buf[i]+=buf[i].substr(0,len);
            ^
0_0_21695973_23776\Main.java:100: 错误: 需要class, interface或enum
        }
        ^
0_0_21695973_23776\Main.java:102: 错误: 需要class, interface或enum
        for(int i = 0;i < m;i++){
        ^
0_0_21695973_23776\Main.java:102: 错误: 需要class, interface或enum
        for(int i = 0;i < m;i++){
                      ^
0_0_21695973_23776\Main.java:102: 错误: 需要class, interface或enum
        for(int i = 0;i < m;i++){
                            ^
0_0_21695973_23776\Main.java:104: 错误: 需要class, interface或enum
            cin>>str1>>str2;
            ^
0_0_21695973_23776\Main.java:105: 错误: 需要class, interface或enum
            str2+='{';
            ^
0_0_21695973_23776\Main.java:106: 错误: 需要class, interface或enum
            str2+=str1;
            ^
0_0_21695973_23776\Main.java:107: 错误: 需要class, interface或enum
            ac.insert(str2,i+1);
            ^
0_0_21695973_23776\Main.java:108: 错误: 需要class, interface或enum
        }
        ^
0_0_21695973_23776\Main.java:110: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++)
        ^
0_0_21695973_23776\Main.java:110: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++)
                      ^
0_0_21695973_23776\Main.java:110: 错误: 需要class, interface或enum
        for(int i = 0;i < n;i++)
                            ^
0_0_21695973_23776\Main.java:112: 错误: 需要class, interface或enum
        for(int i = 1;i<=m;i++)
        ^
0_0_21695973_23776\Main.java:112: 错误: 需要class, interface或enum
        for(int i = 1;i<=m;i++)
                      ^
0_0_21695973_23776\Main.java:112: 错误: 需要class, interface或enum
        for(int i = 1;i<=m;i++)
                           ^
0_0_21695973_23776\Main.java:114: 错误: 需要class, interface或enum
    }
    ^
0_0_21695973_23776\Main.java:116: 错误: 需要class, interface或enum
}
^
78 个错误


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-27 00:54:00, Gzip enabled