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_18897852_11146\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_18897852_11146\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_18897852_11146\Main.java:2: 错误: 非法字符: '#'
#include <cmath>
^
0_0_18897852_11146\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_18897852_11146\Main.java:4: 错误: 非法字符: '#'
#include <string>
^
0_0_18897852_11146\Main.java:5: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_18897852_11146\Main.java:6: 错误: 非法字符: '#'
#include <queue>
^
0_0_18897852_11146\Main.java:7: 错误: 非法字符: '#'
#include <map>
^
0_0_18897852_11146\Main.java:8: 错误: 非法字符: '#'
#include <set>
^
0_0_18897852_11146\Main.java:9: 错误: 非法字符: '#'
#include <vector>
^
0_0_18897852_11146\Main.java:10: 错误: 非法字符: '#'
#include <iostream>
^
0_0_18897852_11146\Main.java:13: 错误: 需要class, interface或enum
const int maxlen=1000+50;
^
0_0_18897852_11146\Main.java:14: 错误: 需要class, interface或enum
const int maxn=120;
^
0_0_18897852_11146\Main.java:15: 错误: 需要class, interface或enum
const int all_size=6;
^
0_0_18897852_11146\Main.java:16: 错误: 需要class, interface或enum
int trie[maxn][all_size];
^
0_0_18897852_11146\Main.java:17: 错误: 需要class, interface或enum
int fail[maxn];
^
0_0_18897852_11146\Main.java:18: 错误: 需要class, interface或enum
int tag[maxn];
^
0_0_18897852_11146\Main.java:19: 错误: 需要class, interface或enum
int fp[10];
^
0_0_18897852_11146\Main.java:20: 错误: 需要class, interface或enum
int L,n;
^
0_0_18897852_11146\Main.java:21: 错误: 需要class, interface或enum
int sz;
^
0_0_18897852_11146\Main.java:22: 错误: 需要class, interface或enum
queue<int >Q;
^
0_0_18897852_11146\Main.java:23: 错误: 需要class, interface或enum
struct Aho
^
0_0_18897852_11146\Main.java:26: 错误: 需要class, interface或enum
    int newnode()//静态创建新节点
    ^
0_0_18897852_11146\Main.java:29: 错误: 需要class, interface或enum
        tag[sz]=0;
        ^
0_0_18897852_11146\Main.java:30: 错误: 需要class, interface或enum
        sz++;
        ^
0_0_18897852_11146\Main.java:31: 错误: 需要class, interface或enum
        return sz-1;
        ^
0_0_18897852_11146\Main.java:32: 错误: 需要class, interface或enum
    }
    ^
0_0_18897852_11146\Main.java:36: 错误: 需要class, interface或enum
        newnode();
        ^
0_0_18897852_11146\Main.java:37: 错误: 需要class, interface或enum
    }
    ^
0_0_18897852_11146\Main.java:41: 错误: 需要class, interface或enum
        for (int i=0; i<len; i++)
        ^
0_0_18897852_11146\Main.java:41: 错误: 需要class, interface或enum
        for (int i=0; i<len; i++)
                      ^
0_0_18897852_11146\Main.java:41: 错误: 需要class, interface或enum
        for (int i=0; i<len; i++)
                             ^
0_0_18897852_11146\Main.java:44: 错误: 需要class, interface或enum
            if (trie[p][id]==-1)
            ^
0_0_18897852_11146\Main.java:46: 错误: 需要class, interface或enum
            p=trie[p][id];
            ^
0_0_18897852_11146\Main.java:47: 错误: 需要class, interface或enum
        }
        ^
0_0_18897852_11146\Main.java:49: 错误: 需要class, interface或enum
        fp[id]=p;
        ^
0_0_18897852_11146\Main.java:50: 错误: 需要class, interface或enum
    }
    ^
0_0_18897852_11146\Main.java:54: 错误: 需要class, interface或enum
        fail[root]=root;            //root指向root
        ^
0_0_18897852_11146\Main.java:55: 错误: 需要class, interface或enum
        for (int i=0; i<all_size; i++)
        ^
0_0_18897852_11146\Main.java:55: 错误: 需要class, interface或enum
        for (int i=0; i<all_size; i++)
                      ^
0_0_18897852_11146\Main.java:55: 错误: 需要class, interface或enum
        for (int i=0; i<all_size; i++)
                                  ^
0_0_18897852_11146\Main.java:59: 错误: 需要class, interface或enum
            else    //第一个字符的fail指针指向root
            ^
0_0_18897852_11146\Main.java:62: 错误: 需要class, interface或enum
                Q.push(trie[root][i]);   //并放入队列,待bfs扩展
                ^
0_0_18897852_11146\Main.java:63: 错误: 需要class, interface或enum
            }
            ^
0_0_18897852_11146\Main.java:68: 错误: 需要class, interface或enum
            Q.pop();
            ^
0_0_18897852_11146\Main.java:70: 错误: 需要class, interface或enum
            if(tag[fail[u]])     tag[u]=tag[fail[u]];  //***如果之前是tag,直接标记
            ^
0_0_18897852_11146\Main.java:71: 错误: 需要class, interface或enum
            for (int i=0; i<all_size; i++)//遍历所有子节点
            ^
0_0_18897852_11146\Main.java:71: 错误: 需要class, interface或enum
            for (int i=0; i<all_size; i++)//遍历所有子节点
                          ^
0_0_18897852_11146\Main.java:71: 错误: 需要class, interface或enum
            for (int i=0; i<all_size; i++)//遍历所有子节点
                                      ^
0_0_18897852_11146\Main.java:75: 错误: 需要class, interface或enum
                else     //如果存在,则该节点的fail指针指向fail[u]节点对应的子节点
                ^
0_0_18897852_11146\Main.java:78: 错误: 需要class, interface或enum
                    Q.push(trie[u][i]);     //继续扩展
                    ^
0_0_18897852_11146\Main.java:79: 错误: 需要class, interface或enum
                }
                ^
0_0_18897852_11146\Main.java:86: 错误: 非法字符: '#'
#define eps 1e-6
^
0_0_18897852_11146\Main.java:86: 错误: 需要class, interface或enum
#define eps 1e-6
        ^
0_0_18897852_11146\Main.java:88: 错误: 需要class, interface或enum
double a[MAXN][MAXN],x[MAXN];
^
0_0_18897852_11146\Main.java:89: 错误: 需要class, interface或enum
int equ,var;
^
0_0_18897852_11146\Main.java:90: 错误: 需要class, interface或enum
int Gauss()
^
0_0_18897852_11146\Main.java:93: 错误: 需要class, interface或enum
    for(k = 0,col = 0;k < equ && col < var;k++,col++)
    ^
0_0_18897852_11146\Main.java:93: 错误: 需要class, interface或enum
    for(k = 0,col = 0;k < equ && col < var;k++,col++)
                      ^
0_0_18897852_11146\Main.java:93: 错误: 需要class, interface或enum
    for(k = 0,col = 0;k < equ && col < var;k++,col++)
                                           ^
0_0_18897852_11146\Main.java:96: 错误: 需要class, interface或enum
        for(i = k+1;i < equ;i++)
        ^
0_0_18897852_11146\Main.java:96: 错误: 需要class, interface或enum
        for(i = k+1;i < equ;i++)
                    ^
0_0_18897852_11146\Main.java:96: 错误: 需要class, interface或enum
        for(i = k+1;i < equ;i++)
                            ^
0_0_18897852_11146\Main.java:99: 错误: 需要class, interface或enum
        if(fabs(a[max_r][col]) < eps)return 0;
        ^
0_0_18897852_11146\Main.java:100: 错误: 需要class, interface或enum
        if(k != max_r)
        ^
0_0_18897852_11146\Main.java:102: 错误: 需要class, interface或enum
            for(j = col;j < var;j++)
                        ^
0_0_18897852_11146\Main.java:102: 错误: 需要class, interface或enum
            for(j = col;j < var;j++)
                                ^
0_0_18897852_11146\Main.java:104: 错误: 需要class, interface或enum
            swap(x[k],x[max_r]);
            ^
0_0_18897852_11146\Main.java:105: 错误: 需要class, interface或enum
        }
        ^
0_0_18897852_11146\Main.java:107: 错误: 需要class, interface或enum
        for(j = col+1;j < var;j++)a[k][j]/=a[k][col];
        ^
0_0_18897852_11146\Main.java:107: 错误: 需要class, interface或enum
        for(j = col+1;j < var;j++)a[k][j]/=a[k][col];
                      ^
0_0_18897852_11146\Main.java:107: 错误: 需要class, interface或enum
        for(j = col+1;j < var;j++)a[k][j]/=a[k][col];
                              ^
0_0_18897852_11146\Main.java:108: 错误: 需要class, interface或enum
        a[k][col] = 1;
        ^
0_0_18897852_11146\Main.java:109: 错误: 需要class, interface或enum
        for(int i = 0;i < equ;i++)
        ^
0_0_18897852_11146\Main.java:109: 错误: 需要class, interface或enum
        for(int i = 0;i < equ;i++)
                      ^
0_0_18897852_11146\Main.java:109: 错误: 需要class, interface或enum
        for(int i = 0;i < equ;i++)
                              ^
0_0_18897852_11146\Main.java:113: 错误: 需要class, interface或enum
                for(j = col+1;j < var;j++)a[i][j] -= a[k][j]*a[i][col];
                ^
0_0_18897852_11146\Main.java:113: 错误: 需要class, interface或enum
                for(j = col+1;j < var;j++)a[i][j] -= a[k][j]*a[i][col];
                              ^
0_0_18897852_11146\Main.java:113: 错误: 需要class, interface或enum
                for(j = col+1;j < var;j++)a[i][j] -= a[k][j]*a[i][col];
                                      ^
0_0_18897852_11146\Main.java:114: 错误: 需要class, interface或enum
                a[i][col] = 0;
                ^
0_0_18897852_11146\Main.java:115: 错误: 需要class, interface或enum
            }
            ^
0_0_18897852_11146\Main.java:118: 错误: 需要class, interface或enum
}
^
0_0_18897852_11146\Main.java:124: 错误: 需要class, interface或enum
    memset(a, 0, sizeof(a));
    ^
0_0_18897852_11146\Main.java:125: 错误: 需要class, interface或enum
    var=n,equ=m;
    ^
0_0_18897852_11146\Main.java:126: 错误: 需要class, interface或enum
}
^
0_0_18897852_11146\Main.java:132: 错误: 需要class, interface或enum
    for (int i=0; i<sz; i++)
                  ^
0_0_18897852_11146\Main.java:132: 错误: 需要class, interface或enu


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-01 12:28:02, Gzip enabled