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_13970013_14452\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_13970013_14452\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
        ^
0_0_13970013_14452\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_13970013_14452\Main.java:3: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_13970013_14452\Main.java:4: 错误: 非法字符: '#'
#include<iostream>
^
0_0_13970013_14452\Main.java:5: 错误: 非法字符: '#'
#include<queue>
^
0_0_13970013_14452\Main.java:6: 错误: 非法字符: '#'
#include<cmath>
^
0_0_13970013_14452\Main.java:8: 错误: 需要class, interface或enum
struct node{
^
0_0_13970013_14452\Main.java:10: 错误: 需要class, interface或enum
    int fail;
    ^
0_0_13970013_14452\Main.java:11: 错误: 需要class, interface或enum
    int flag;
    ^
0_0_13970013_14452\Main.java:12: 错误: 需要class, interface或enum
    void init()
    ^
0_0_13970013_14452\Main.java:15: 错误: 需要class, interface或enum
        fail=0;
        ^
0_0_13970013_14452\Main.java:16: 错误: 需要class, interface或enum
        flag=0;
        ^
0_0_13970013_14452\Main.java:17: 错误: 需要class, interface或enum
    }
    ^
0_0_13970013_14452\Main.java:20: 错误: 需要class, interface或enum
int n,len,tot;
^
0_0_13970013_14452\Main.java:21: 错误: 需要class, interface或enum
int weight[15];
^
0_0_13970013_14452\Main.java:22: 错误: 需要class, interface或enum
char keyword[105];
^
0_0_13970013_14452\Main.java:23: 错误: 需要class, interface或enum
int dp[2][1005][1<<10];
^
0_0_13970013_14452\Main.java:25: 错误: 需要class, interface或enum
void chushihua()
^
0_0_13970013_14452\Main.java:28: 错误: 需要class, interface或enum
    a[0].init();
    ^
0_0_13970013_14452\Main.java:29: 错误: 需要class, interface或enum
    memset(dp,0,sizeof(dp));
    ^
0_0_13970013_14452\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_13970013_14452\Main.java:36: 错误: 需要class, interface或enum
    else if(x=='C')
    ^
0_0_13970013_14452\Main.java:38: 错误: 需要class, interface或enum
    else if(x=='G')
    ^
0_0_13970013_14452\Main.java:40: 错误: 需要class, interface或enum
    else
    ^
0_0_13970013_14452\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_13970013_14452\Main.java:47: 错误: 需要class, interface或enum
    for(;*str!='\0';str++)
    ^
0_0_13970013_14452\Main.java:47: 错误: 需要class, interface或enum
    for(;*str!='\0';str++)
         ^
0_0_13970013_14452\Main.java:47: 错误: 需要class, interface或enum
    for(;*str!='\0';str++)
                    ^
0_0_13970013_14452\Main.java:50: 错误: 需要class, interface或enum
        if(a[p].next[index]==0)
        ^
0_0_13970013_14452\Main.java:53: 错误: 需要class, interface或enum
            a[p].next[index]=tot;
            ^
0_0_13970013_14452\Main.java:54: 错误: 需要class, interface或enum
        }
        ^
0_0_13970013_14452\Main.java:56: 错误: 需要class, interface或enum
    }
    ^
0_0_13970013_14452\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_13970013_14452\Main.java:63: 错误: 需要class, interface或enum
    int p,son,cur,i;
    ^
0_0_13970013_14452\Main.java:64: 错误: 需要class, interface或enum
    Q.push(0);
    ^
0_0_13970013_14452\Main.java:65: 错误: 需要class, interface或enum
    while(!Q.empty())
    ^
0_0_13970013_14452\Main.java:68: 错误: 需要class, interface或enum
        Q.pop();
        ^
0_0_13970013_14452\Main.java:69: 错误: 需要class, interface或enum
        for(i=0;i<4;i++)
        ^
0_0_13970013_14452\Main.java:69: 错误: 需要class, interface或enum
        for(i=0;i<4;i++)
                ^
0_0_13970013_14452\Main.java:69: 错误: 需要class, interface或enum
        for(i=0;i<4;i++)
                    ^
0_0_13970013_14452\Main.java:74: 错误: 需要class, interface或enum
                cur=a[p].fail;
                ^
0_0_13970013_14452\Main.java:75: 错误: 需要class, interface或enum
                if(p==0)
                ^
0_0_13970013_14452\Main.java:77: 错误: 需要class, interface或enum
                else
                ^
0_0_13970013_14452\Main.java:81: 错误: 需要class, interface或enum
                    a[son].fail=a[cur].next[i];
                    ^
0_0_13970013_14452\Main.java:82: 错误: 需要class, interface或enum
                }
                ^
0_0_13970013_14452\Main.java:84: 错误: 需要class, interface或enum
                Q.push(son);
                ^
0_0_13970013_14452\Main.java:85: 错误: 需要class, interface或enum
            }
            ^
0_0_13970013_14452\Main.java:88: 错误: 需要class, interface或enum
        }
        ^
0_0_13970013_14452\Main.java:95: 错误: 需要class, interface或enum
    for(i=0;i<n;i++)
    ^
0_0_13970013_14452\Main.java:95: 错误: 需要class, interface或enum
    for(i=0;i<n;i++)
            ^
0_0_13970013_14452\Main.java:95: 错误: 需要class, interface或enum
    for(i=0;i<n;i++)
                ^
0_0_13970013_14452\Main.java:98: 错误: 需要class, interface或enum
    return sum;
    ^
0_0_13970013_14452\Main.java:99: 错误: 需要class, interface或enum
}
^
0_0_13970013_14452\Main.java:104: 错误: 需要class, interface或enum
    dp[0][0][0]=1;
    ^
0_0_13970013_14452\Main.java:105: 错误: 需要class, interface或enum
    for(i=1;i<=len;i++)
    ^
0_0_13970013_14452\Main.java:105: 错误: 需要class, interface或enum
    for(i=1;i<=len;i++)
            ^
0_0_13970013_14452\Main.java:105: 错误: 需要class, interface或enum
    for(i=1;i<=len;i++)
                   ^
0_0_13970013_14452\Main.java:108: 错误: 需要class, interface或enum
        for(j=0;j<=tot;j++)
        ^
0_0_13970013_14452\Main.java:108: 错误: 需要class, interface或enum
        for(j=0;j<=tot;j++)
                ^
0_0_13970013_14452\Main.java:108: 错误: 需要class, interface或enum
        for(j=0;j<=tot;j++)
                       ^
0_0_13970013_14452\Main.java:110: 错误: 需要class, interface或enum
            for(l=0;l<(1<<n);l++)
                    ^
0_0_13970013_14452\Main.java:110: 错误: 需要class, interface或enum
            for(l=0;l<(1<<n);l++)
                             ^
0_0_13970013_14452\Main.java:114: 错误: 需要class, interface或enum
                  for(k=0;k<4;k++)
                  ^
0_0_13970013_14452\Main.java:114: 错误: 需要class, interface或enum
                  for(k=0;k<4;k++)
                          ^
0_0_13970013_14452\Main.java:114: 错误: 需要class, interface或enum
                  for(k=0;k<4;k++)
                              ^
0_0_13970013_14452\Main.java:117: 错误: 需要class, interface或enum
                      dp[i&1][son][l|a[son].flag]=1;
                      ^
0_0_13970013_14452\Main.java:118: 错误: 需要class, interface或enum
                  }
                  ^
0_0_13970013_14452\Main.java:123: 错误: 需要class, interface或enum
    for(j=0;j<(1<<10);j++)
    ^
0_0_13970013_14452\Main.java:123: 错误: 需要class, interface或enum
    for(j=0;j<(1<<10);j++)
            ^
0_0_13970013_14452\Main.java:123: 错误: 需要class, interface或enum
    for(j=0;j<(1<<10);j++)
                      ^
0_0_13970013_14452\Main.java:124: 错误: 需要class, interface或enum
        for(i=0;i<=tot;i++)
                ^
0_0_13970013_14452\Main.java:124: 错误: 需要class, interface或enum
        for(i=0;i<=tot;i++)
                       ^
0_0_13970013_14452\Main.java:128: 错误: 需要class, interface或enum
                if(res<temp)
                ^
0_0_13970013_14452\Main.java:130: 错误: 需要class, interface或enum
            }
            ^
0_0_13970013_14452\Main.java:133: 错误: 需要class, interface或enum
    else
    ^
0_0_13970013_14452\Main.java:135: 错误: 需要class, interface或enum
}
^
0_0_13970013_14452\Main.java:140: 错误: 需要class, interface或enum
    while(scanf("%d%d",&n,&len)!=EOF)
    ^
0_0_13970013_14452\Main.java:143: 错误: 需要class, interface或enum
        getchar();
        ^
0_0_13970013_14452\Main.java:144: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
        ^
0_0_13970013_14452\Main.java:144: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                ^
0_0_13970013_14452\Main.java:144: 错误: 需要class, interface或enum
        for(i=0;i<n;i++)
                    ^
0_0_13970013_14452\Main.java:147: 错误: 需要class, interface或enum
            insert(keyword,i);
            ^
0_0_13970013_14452\Main.java:148: 错误: 需要class, interface或enum
            getchar();
            ^
0_0_13970013_14452\Main.java:149: 错误: 需要class, interface或enum
        }
        ^
0_0_13970013_14452\Main.java:151: 错误: 需要class, interface或enum
        solve();
        ^
0_0_13970013_14452\Main.java:152: 错误: 需要class, interface或enum
    }
    ^
0_0_13970013_14452\Main.java:154: 错误: 需要class, interface或enum
}
^
88 个错误


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:47:20, Gzip enabled