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_37458000_18154\Main.java:1: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_37458000_18154\Main.java:1: 错误: 需要class, interface或enum
#include <stdio.h>
         ^
0_0_37458000_18154\Main.java:2: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_37458000_18154\Main.java:4: 错误: 非法字符: '#'
#define INF 0x3f3f3f3f
^
0_0_37458000_18154\Main.java:4: 错误: 需要class, interface或enum
#define INF 0x3f3f3f3f
        ^
0_0_37458000_18154\Main.java:5: 错误: 非法字符: '#'
#define CLR(arr,val) memset(arr,val,sizeof(arr))
^
0_0_37458000_18154\Main.java:6: 错误: 非法字符: '#'
#define LC(x) (x<<1)
^
0_0_37458000_18154\Main.java:7: 错误: 非法字符: '#'
#define RC(x) ((x<<1)+1)
^
0_0_37458000_18154\Main.java:8: 错误: 非法字符: '#'
#define MID(x,y) ((x+y)>>1)
^
0_0_37458000_18154\Main.java:10: 错误: 需要class, interface或enum
typedef long long LL;
^
0_0_37458000_18154\Main.java:11: 错误: 需要class, interface或enum
const double PI=acos(-1.0);
^
0_0_37458000_18154\Main.java:12: 错误: 需要class, interface或enum
const int N=5010;
^
0_0_37458000_18154\Main.java:13: 错误: 需要class, interface或enum
struct Trie
^
0_0_37458000_18154\Main.java:16: 错误: 需要class, interface或enum
    int id;
    ^
0_0_37458000_18154\Main.java:17: 错误: 需要class, interface或enum
    inline void init()
    ^
0_0_37458000_18154\Main.java:20: 错误: 需要class, interface或enum
        id=-1;
        ^
0_0_37458000_18154\Main.java:21: 错误: 需要class, interface或enum
    }
    ^
0_0_37458000_18154\Main.java:23: 错误: 需要class, interface或enum
Trie L[N*7];
^
0_0_37458000_18154\Main.java:24: 错误: 需要class, interface或enum
int tot,ans[N];
^
0_0_37458000_18154\Main.java:25: 错误: 需要class, interface或enum
char s[10];
^
0_0_37458000_18154\Main.java:26: 错误: 需要class, interface或enum
char change[10];
^
0_0_37458000_18154\Main.java:28: 错误: 需要class, interface或enum
void init()
^
0_0_37458000_18154\Main.java:31: 错误: 需要class, interface或enum
    tot=1;
    ^
0_0_37458000_18154\Main.java:32: 错误: 需要class, interface或enum
    CLR(ans,0);
    ^
0_0_37458000_18154\Main.java:33: 错误: 需要class, interface或enum
}
^
0_0_37458000_18154\Main.java:37: 错误: 需要class, interface或enum
    for (int i=0; i<len; ++i)
    ^
0_0_37458000_18154\Main.java:37: 错误: 需要class, interface或enum
    for (int i=0; i<len; ++i)
                  ^
0_0_37458000_18154\Main.java:37: 错误: 需要class, interface或enum
    for (int i=0; i<len; ++i)
                         ^
0_0_37458000_18154\Main.java:40: 错误: 需要class, interface或enum
        if(!L[now].nxt[v])
        ^
0_0_37458000_18154\Main.java:43: 错误: 需要class, interface或enum
            L[now].nxt[v]=tot++;
            ^
0_0_37458000_18154\Main.java:44: 错误: 需要class, interface或enum
        }
        ^
0_0_37458000_18154\Main.java:46: 错误: 需要class, interface或enum
    }
    ^
0_0_37458000_18154\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_37458000_18154\Main.java:52: 错误: 需要class, interface或enum
    int len=strlen(s);
    ^
0_0_37458000_18154\Main.java:53: 错误: 需要class, interface或enum
    for (int i=0; i<len; ++i)
    ^
0_0_37458000_18154\Main.java:53: 错误: 需要class, interface或enum
    for (int i=0; i<len; ++i)
                  ^
0_0_37458000_18154\Main.java:53: 错误: 需要class, interface或enum
    for (int i=0; i<len; ++i)
                         ^
0_0_37458000_18154\Main.java:56: 错误: 需要class, interface或enum
        if(!L[now].nxt[v])
        ^
0_0_37458000_18154\Main.java:58: 错误: 需要class, interface或enum
        now=L[now].nxt[v];
        ^
0_0_37458000_18154\Main.java:59: 错误: 需要class, interface或enum
    }
    ^
0_0_37458000_18154\Main.java:61: 错误: 需要class, interface或enum
}
^
0_0_37458000_18154\Main.java:66: 错误: 需要class, interface或enum
    else if(x>='d'&&x<='f')
    ^
0_0_37458000_18154\Main.java:68: 错误: 需要class, interface或enum
    else if(x>='g'&&x<='i')
    ^
0_0_37458000_18154\Main.java:70: 错误: 需要class, interface或enum
    else if(x>='j'&&x<='l')
    ^
0_0_37458000_18154\Main.java:72: 错误: 需要class, interface或enum
    else if(x>='m'&&x<='o')
    ^
0_0_37458000_18154\Main.java:74: 错误: 需要class, interface或enum
    else if(x>='p'&&x<='s')
    ^
0_0_37458000_18154\Main.java:76: 错误: 需要class, interface或enum
    else if(x>='t'&&x<='v')
    ^
0_0_37458000_18154\Main.java:78: 错误: 需要class, interface或enum
    else
    ^
0_0_37458000_18154\Main.java:80: 错误: 需要class, interface或enum
}
^
0_0_37458000_18154\Main.java:84: 错误: 需要class, interface或enum
    scanf("%d",&tcase);
    ^
0_0_37458000_18154\Main.java:85: 错误: 需要class, interface或enum
    while (tcase--)
    ^
0_0_37458000_18154\Main.java:88: 错误: 需要class, interface或enum
        scanf("%d%d",&n,&m);
        ^
0_0_37458000_18154\Main.java:89: 错误: 需要class, interface或enum
        for (i=0; i<n; ++i)
        ^
0_0_37458000_18154\Main.java:89: 错误: 需要class, interface或enum
        for (i=0; i<n; ++i)
                  ^
0_0_37458000_18154\Main.java:89: 错误: 需要class, interface或enum
        for (i=0; i<n; ++i)
                       ^
0_0_37458000_18154\Main.java:92: 错误: 需要class, interface或enum
            update(s,i);
            ^
0_0_37458000_18154\Main.java:93: 错误: 需要class, interface或enum
        }
        ^
0_0_37458000_18154\Main.java:94: 错误: 需要class, interface或enum
        for (i=0; i<m; ++i)
                  ^
0_0_37458000_18154\Main.java:94: 错误: 需要class, interface或enum
        for (i=0; i<m; ++i)
                       ^
0_0_37458000_18154\Main.java:97: 错误: 需要class, interface或enum
            int len=strlen(s);
            ^
0_0_37458000_18154\Main.java:98: 错误: 需要class, interface或enum
            for_each(s,s+len,[](char &c){c=getid(c)+'0';});
            ^
0_0_37458000_18154\Main.java:98: 错误: 需要class, interface或enum
            for_each(s,s+len,[](char &c){c=getid(c)+'0';});
                                                        ^
0_0_37458000_18154\Main.java:99: 错误: 需要class, interface或enum
            int indx=Find(s);
            ^
0_0_37458000_18154\Main.java:100: 错误: 需要class, interface或enum
            if(indx!=-1)
            ^
0_0_37458000_18154\Main.java:102: 错误: 需要class, interface或enum
        }
        ^
0_0_37458000_18154\Main.java:103: 错误: 需要class, interface或enum
        for_each(ans,ans+n,[&](const int &c){printf("%d\n",c);});
                                                              ^
0_0_37458000_18154\Main.java:104: 错误: 需要class, interface或enum
    }
    ^
0_0_37458000_18154\Main.java:106: 错误: 需要class, interface或enum
}
^
68 个错误


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-23 02:24:07, Gzip enabled