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_13970008_16709\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_13970008_16709\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_13970008_16709\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_13970008_16709\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_13970008_16709\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
0_0_13970008_16709\Main.java:5: 错误: 非法字符: '#'
#include<cmath>
^
0_0_13970008_16709\Main.java:6: 错误: 非法字符: '#'
#define eps 1e-10
^
0_0_13970008_16709\Main.java:7: 错误: 非法字符: '#'
#define N 100005
^
0_0_13970008_16709\Main.java:8: 错误: 非法字符: '#'
#define inf 1<<20
^
0_0_13970008_16709\Main.java:9: 错误: 非法字符: '#'
#define zero(a) (fabs(a)<eps)
^
0_0_13970008_16709\Main.java:10: 错误: 非法字符: '#'
#define lson (step<<1)
^
0_0_13970008_16709\Main.java:11: 错误: 非法字符: '#'
#define rson (step<<1|1)
^
0_0_13970008_16709\Main.java:13: 错误: 需要class, interface或enum
struct Trie{
^
0_0_13970008_16709\Main.java:15: 错误: 需要class, interface或enum
    int end;
    ^
0_0_13970008_16709\Main.java:16: 错误: 需要class, interface或enum
    void Init(){next[0]=next[1]=next[2]=next[3]=0;fail=end=0;}
    ^
0_0_13970008_16709\Main.java:16: 错误: 需要class, interface或enum
    void Init(){next[0]=next[1]=next[2]=next[3]=0;fail=end=0;}
                                                  ^
0_0_13970008_16709\Main.java:16: 错误: 需要class, interface或enum
    void Init(){next[0]=next[1]=next[2]=next[3]=0;fail=end=0;}
                                                             ^
0_0_13970008_16709\Main.java:18: 错误: 需要class, interface或enum
int dp[2][1005][1<<10];
^
0_0_13970008_16709\Main.java:19: 错误: 需要class, interface或enum
char str[105];
^
0_0_13970008_16709\Main.java:20: 错误: 需要class, interface或enum
int val[105],tot;
^
0_0_13970008_16709\Main.java:21: 错误: 需要class, interface或enum
int id(char ch){
^
0_0_13970008_16709\Main.java:23: 错误: 需要class, interface或enum
    if(ch=='T') return 1;
    ^
0_0_13970008_16709\Main.java:24: 错误: 需要class, interface或enum
    if(ch=='G') return 2;
    ^
0_0_13970008_16709\Main.java:25: 错误: 需要class, interface或enum
    return 3;
    ^
0_0_13970008_16709\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_13970008_16709\Main.java:29: 错误: 需要class, interface或enum
    for(int i=0;i<len;i++){
    ^
0_0_13970008_16709\Main.java:29: 错误: 需要class, interface或enum
    for(int i=0;i<len;i++){
                ^
0_0_13970008_16709\Main.java:29: 错误: 需要class, interface或enum
    for(int i=0;i<len;i++){
                      ^
0_0_13970008_16709\Main.java:31: 错误: 需要class, interface或enum
        if(tree[p].next[q]==0){
        ^
0_0_13970008_16709\Main.java:33: 错误: 需要class, interface或enum
            tree[p].next[q]=tot;
            ^
0_0_13970008_16709\Main.java:34: 错误: 需要class, interface或enum
        }
        ^
0_0_13970008_16709\Main.java:36: 错误: 需要class, interface或enum
    }
    ^
0_0_13970008_16709\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_13970008_16709\Main.java:41: 错误: 需要class, interface或enum
    int head=0,tail=0;
    ^
0_0_13970008_16709\Main.java:42: 错误: 需要class, interface或enum
    que[tail++]=0;
    ^
0_0_13970008_16709\Main.java:43: 错误: 需要class, interface或enum
    while(head<tail){
    ^
0_0_13970008_16709\Main.java:45: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++){
        ^
0_0_13970008_16709\Main.java:45: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++){
                    ^
0_0_13970008_16709\Main.java:45: 错误: 需要class, interface或enum
        for(int i=0;i<4;i++){
                        ^
0_0_13970008_16709\Main.java:48: 错误: 需要class, interface或enum
            else{
            ^
0_0_13970008_16709\Main.java:50: 错误: 需要class, interface或enum
                if(p)
                ^
0_0_13970008_16709\Main.java:52: 错误: 需要class, interface或enum
                tree[q].end|=tree[tree[q].fail].end;
                ^
0_0_13970008_16709\Main.java:53: 错误: 需要class, interface或enum
                que[tail++]=q;
                ^
0_0_13970008_16709\Main.java:54: 错误: 需要class, interface或enum
            }
            ^
0_0_13970008_16709\Main.java:59: 错误: 需要class, interface或enum
int get(int state){
^
0_0_13970008_16709\Main.java:61: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
    ^
0_0_13970008_16709\Main.java:61: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
                ^
0_0_13970008_16709\Main.java:61: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
                    ^
0_0_13970008_16709\Main.java:64: 错误: 需要class, interface或enum
    return ans;
    ^
0_0_13970008_16709\Main.java:65: 错误: 需要class, interface或enum
}
^
0_0_13970008_16709\Main.java:68: 错误: 需要class, interface或enum
    dp[0][0][0]=1;
    ^
0_0_13970008_16709\Main.java:69: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++){
    ^
0_0_13970008_16709\Main.java:69: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++){
                ^
0_0_13970008_16709\Main.java:69: 错误: 需要class, interface或enum
    for(int i=1;i<=m;i++){
                     ^
0_0_13970008_16709\Main.java:71: 错误: 需要class, interface或enum
        for(int j=0;j<=tot;j++){
        ^
0_0_13970008_16709\Main.java:71: 错误: 需要class, interface或enum
        for(int j=0;j<=tot;j++){
                    ^
0_0_13970008_16709\Main.java:71: 错误: 需要class, interface或enum
        for(int j=0;j<=tot;j++){
                           ^
0_0_13970008_16709\Main.java:72: 错误: 需要class, interface或enum
            for(int k=0;k<4;k++){
                        ^
0_0_13970008_16709\Main.java:72: 错误: 需要class, interface或enum
            for(int k=0;k<4;k++){
                            ^
0_0_13970008_16709\Main.java:73: 错误: 需要class, interface或enum
                for(int r=0;r<(1<<n);r++){
                            ^
0_0_13970008_16709\Main.java:73: 错误: 需要class, interface或enum
                for(int r=0;r<(1<<n);r++){
                                     ^
0_0_13970008_16709\Main.java:76: 错误: 需要class, interface或enum
                }
                ^
0_0_13970008_16709\Main.java:81: 错误: 需要class, interface或enum
    for(int j=0;j<(1<<n);j++)
    ^
0_0_13970008_16709\Main.java:81: 错误: 需要class, interface或enum
    for(int j=0;j<(1<<n);j++)
                ^
0_0_13970008_16709\Main.java:81: 错误: 需要class, interface或enum
    for(int j=0;j<(1<<n);j++)
                         ^
0_0_13970008_16709\Main.java:82: 错误: 需要class, interface或enum
        for(int i=0;i<=tot;i++)
                    ^
0_0_13970008_16709\Main.java:82: 错误: 需要class, interface或enum
        for(int i=0;i<=tot;i++)
                           ^
0_0_13970008_16709\Main.java:85: 错误: 需要class, interface或enum
              break;
              ^
0_0_13970008_16709\Main.java:86: 错误: 需要class, interface或enum
           }
           ^
0_0_13970008_16709\Main.java:88: 错误: 需要class, interface或enum
    else printf("%d\n",ans);
    ^
0_0_13970008_16709\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_13970008_16709\Main.java:92: 错误: 需要class, interface或enum
    freopen("2.out","w",stdout);
    ^
0_0_13970008_16709\Main.java:93: 错误: 需要class, interface或enum
    while(scanf("%d%d",&n,&m)!=EOF){
    ^
0_0_13970008_16709\Main.java:94: 错误: 需要class, interface或enum
        tree[0].Init();tot=0;
                       ^
0_0_13970008_16709\Main.java:95: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++){
        ^
0_0_13970008_16709\Main.java:95: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++){
                    ^
0_0_13970008_16709\Main.java:95: 错误: 需要class, interface或enum
        for(int i=0;i<n;i++){
                        ^
0_0_13970008_16709\Main.java:97: 错误: 需要class, interface或enum
            Insert(str,strlen(str),i);
            ^
0_0_13970008_16709\Main.java:98: 错误: 需要class, interface或enum
        }
        ^
0_0_13970008_16709\Main.java:100: 错误: 需要class, interface或enum
        DP();
        ^
0_0_13970008_16709\Main.java:101: 错误: 需要class, interface或enum
    }
    ^
0_0_13970008_16709\Main.java:103: 错误: 需要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-30 05:44:35, Gzip enabled