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_22157844_6685\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_22157844_6685\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_22157844_6685\Main.java:3: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_22157844_6685\Main.java:4: 错误: 需要class, interface或enum
const int CHAR = 26;
^
0_0_22157844_6685\Main.java:5: 错误: 需要class, interface或enum
const int MAXN = 1e5+10;
^
0_0_22157844_6685\Main.java:7: 错误: 需要class, interface或enum
struct sam_node
^
0_0_22157844_6685\Main.java:10: 错误: 需要class, interface或enum
    int len;
    ^
0_0_22157844_6685\Main.java:11: 错误: 需要class, interface或enum
    LL cnt;
    ^
0_0_22157844_6685\Main.java:12: 错误: 需要class, interface或enum
    void clear()
    ^
0_0_22157844_6685\Main.java:15: 错误: 需要class, interface或enum
        cnt = 0;
        ^
0_0_22157844_6685\Main.java:16: 错误: 需要class, interface或enum
        memset(next,0,sizeof(next));
        ^
0_0_22157844_6685\Main.java:17: 错误: 需要class, interface或enum
    }
    ^
0_0_22157844_6685\Main.java:20: 错误: 需要class, interface或enum
sam_node *newnode(int len)
^
0_0_22157844_6685\Main.java:23: 错误: 需要class, interface或enum
    cur->clear();
    ^
0_0_22157844_6685\Main.java:24: 错误: 需要class, interface或enum
    cur->len=len;
    ^
0_0_22157844_6685\Main.java:25: 错误: 需要class, interface或enum
    return cur;
    ^
0_0_22157844_6685\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_22157844_6685\Main.java:31: 错误: 需要class, interface或enum
    root = newnode(0);
    ^
0_0_22157844_6685\Main.java:32: 错误: 需要class, interface或enum
}
^
0_0_22157844_6685\Main.java:37: 错误: 需要class, interface或enum
    while(p&&!p->next[x])
    ^
0_0_22157844_6685\Main.java:39: 错误: 需要class, interface或enum
    if(!p)np->fa=root;
    ^
0_0_22157844_6685\Main.java:40: 错误: 需要class, interface或enum
    else
    ^
0_0_22157844_6685\Main.java:43: 错误: 需要class, interface或enum
        if(q->len==p->len+1)np->fa=q;
        ^
0_0_22157844_6685\Main.java:44: 错误: 需要class, interface或enum
        else
        ^
0_0_22157844_6685\Main.java:47: 错误: 需要class, interface或enum
            memcpy(nq->next,q->next,sizeof(q->next));
            ^
0_0_22157844_6685\Main.java:48: 错误: 需要class, interface或enum
            nq->fa = q->fa;
            ^
0_0_22157844_6685\Main.java:49: 错误: 需要class, interface或enum
            q->fa = np->fa = nq;
            ^
0_0_22157844_6685\Main.java:50: 错误: 需要class, interface或enum
            while(p&&p->next[x]==q)
            ^
0_0_22157844_6685\Main.java:52: 错误: 需要class, interface或enum
        }
        ^
0_0_22157844_6685\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_22157844_6685\Main.java:59: 错误: 需要class, interface或enum
set<string> sk;
^
0_0_22157844_6685\Main.java:60: 错误: 需要class, interface或enum
int maxlen;
^
0_0_22157844_6685\Main.java:62: 错误: 需要class, interface或enum
bool start()
^
0_0_22157844_6685\Main.java:68: 错误: 需要class, interface或enum
        if(len!=maxlen)
        ^
0_0_22157844_6685\Main.java:71: 错误: 需要class, interface或enum
            for(int i=0; i<len; i++)
            ^
0_0_22157844_6685\Main.java:71: 错误: 需要class, interface或enum
            for(int i=0; i<len; i++)
                         ^
0_0_22157844_6685\Main.java:71: 错误: 需要class, interface或enum
            for(int i=0; i<len; i++)
                                ^
0_0_22157844_6685\Main.java:74: 错误: 需要class, interface或enum
                if (t->next[w])
                ^
0_0_22157844_6685\Main.java:76: 错误: 需要class, interface或enum
                else
                ^
0_0_22157844_6685\Main.java:86: 错误: 需要class, interface或enum
                }
                ^
0_0_22157844_6685\Main.java:91: 错误: 需要class, interface或enum
}
^
0_0_22157844_6685\Main.java:96: 错误: 需要class, interface或enum
    sk.clear();
    ^
0_0_22157844_6685\Main.java:97: 错误: 需要class, interface或enum
}
^
0_0_22157844_6685\Main.java:99: 错误: 需要'{'
template <class T>
                 ^
0_0_22157844_6685\Main.java:100: 错误: 需要<标识符>
inline void scan_d(T &ret)
                    ^
0_0_22157844_6685\Main.java:100: 错误: 需要';'
inline void scan_d(T &ret)
                      ^
0_0_22157844_6685\Main.java:100: 错误: 非法的类型开始
inline void scan_d(T &ret)
                         ^
0_0_22157844_6685\Main.java:100: 错误: 需要<标识符>
inline void scan_d(T &ret)
                          ^
0_0_22157844_6685\Main.java:101: 错误: 需要';'
{
 ^
0_0_22157844_6685\Main.java:102: 错误: 需要<标识符>
    char c;
          ^
0_0_22157844_6685\Main.java:103: 错误: 需要<标识符>
    ret = 0;
       ^
0_0_22157844_6685\Main.java:104: 错误: 非法的类型开始
    while ((c = getchar()) < '0' || c > '9');
    ^
0_0_22157844_6685\Main.java:104: 错误: 非法的类型开始
    while ((c = getchar()) < '0' || c > '9');
           ^
0_0_22157844_6685\Main.java:104: 错误: 需要')'
    while ((c = getchar()) < '0' || c > '9');
            ^
0_0_22157844_6685\Main.java:104: 错误: 需要';'
    while ((c = getchar()) < '0' || c > '9');
             ^
0_0_22157844_6685\Main.java:104: 错误: 方法声明无效; 需要返回类型
    while ((c = getchar()) < '0' || c > '9');
                ^
0_0_22157844_6685\Main.java:104: 错误: 需要';'
    while ((c = getchar()) < '0' || c > '9');
                         ^
0_0_22157844_6685\Main.java:104: 错误: 需要<标识符>
    while ((c = getchar()) < '0' || c > '9');
                            ^
0_0_22157844_6685\Main.java:104: 错误: 非法的类型开始
    while ((c = getchar()) < '0' || c > '9');
                                 ^
0_0_22157844_6685\Main.java:104: 错误: 需要'('
    while ((c = getchar()) < '0' || c > '9');
                                      ^
0_0_22157844_6685\Main.java:105: 错误: 非法的类型开始
    while (c >= '0' && c <= '9')
    ^
0_0_22157844_6685\Main.java:105: 错误: 需要<标识符>
    while (c >= '0' && c <= '9')
            ^
0_0_22157844_6685\Main.java:105: 错误: 需要';'
    while (c >= '0' && c <= '9')
               ^
0_0_22157844_6685\Main.java:105: 错误: 非法的类型开始
    while (c >= '0' && c <= '9')
                    ^
0_0_22157844_6685\Main.java:105: 错误: 需要';'
    while (c >= '0' && c <= '9')
                        ^
0_0_22157844_6685\Main.java:107: 错误: 需要';'
        ret = ret * 10 + (c - '0'), c = getchar();
                                  ^
0_0_22157844_6685\Main.java:111: 错误: 需要class, interface或enum
char tt[MAXN];
^
0_0_22157844_6685\Main.java:112: 错误: 需要class, interface或enum
int main()
^
0_0_22157844_6685\Main.java:115: 错误: 需要class, interface或enum
    scan_d(T);
    ^
0_0_22157844_6685\Main.java:116: 错误: 需要class, interface或enum
    while(T--)
    ^
0_0_22157844_6685\Main.java:119: 错误: 需要class, interface或enum
        int n;
        ^
0_0_22157844_6685\Main.java:120: 错误: 需要class, interface或enum
        scan_d(n);
        ^
0_0_22157844_6685\Main.java:121: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
        ^
0_0_22157844_6685\Main.java:121: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
                     ^
0_0_22157844_6685\Main.java:121: 错误: 需要class, interface或enum
        for(int i=0; i<n; i++)
                          ^
0_0_22157844_6685\Main.java:124: 错误: 需要class, interface或enum
            sk.insert((string)str);
            ^
0_0_22157844_6685\Main.java:125: 错误: 需要class, interface或enum
            maxlen = max((int)strlen(str),maxlen);
            ^
0_0_22157844_6685\Main.java:126: 错误: 需要class, interface或enum
        }
        ^
0_0_22157844_6685\Main.java:128: 错误: 需要class, interface或enum
        for(auto s:sk)
        ^
0_0_22157844_6685\Main.java:133: 错误: 需要class, interface或enum
                if(toal>1)
                ^
0_0_22157844_6685\Main.java:136: 错误: 需要class, interface或enum
                    break;
                    ^
0_0_22157844_6685\Main.java:137: 错误: 需要class, interface或enum
                }
                ^
0_0_22157844_6685\Main.java:139: 错误: 需要class, interface或enum
            }
            ^
0_0_22157844_6685\Main.java:144: 错误: 需要class, interface或enum
            sam_node *now = root;
            ^
0_0_22157844_6685\Main.java:145: 错误: 需要class, interface或enum
            for(int i=0; i<maxlen; i++)
            ^
0_0_22157844_6685\Main.java:145: 错误: 需要class, interface或enum
            for(int i=0; i<maxlen; i++)
                         ^
0_0_22157844_6685\Main.java:145: 错误: 需要class, interface或enum
            for(int i=0; i<maxlen; i++)
                                   ^
0_0_22157844_6685\Main.java:147: 错误: 需要class, interface或enum
            if(start())
            ^
0_0_22157844_6685\Main.java:149: 错误: 需要class, interface或enum
            else puts("No");
            ^
0_0_22157844_6685\Main.java:150: 错误: 需要class, interface或enum
        }
        ^
0_0_22157844_6685\Main.java:153: 错误: 需要class, interface或enum
}
^
91 个错误


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-18 03:42:26, Gzip enabled