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_29274389_8943\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_29274389_8943\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_29274389_8943\Main.java:5: 错误: 非法字符: '#'
#define Memset(x, a) memset(x, a, sizeof(x))
^
0_0_29274389_8943\Main.java:5: 错误: 需要class, interface或enum
#define Memset(x, a) memset(x, a, sizeof(x))
        ^
0_0_29274389_8943\Main.java:7: 错误: 需要class, interface或enum
const int maxn = 5e4+5;//集合中的数字个数
^
0_0_29274389_8943\Main.java:8: 错误: 需要class, interface或enum
int ch[32*maxn][2];         //节点的边信息
^
0_0_29274389_8943\Main.java:9: 错误: 需要class, interface或enum
ll val[32*maxn];            //节点存储的值
^
0_0_29274389_8943\Main.java:10: 错误: 需要class, interface或enum
int sz;                     //树中当前节点个数
^
0_0_29274389_8943\Main.java:11: 错误: 需要class, interface或enum
int num[32*maxn];           // 出现的次数
^
0_0_29274389_8943\Main.java:12: 错误: 需要class, interface或enum
ll ans;
^
0_0_29274389_8943\Main.java:13: 错误: 非法字符: '#'
#define mod 998244353
^
0_0_29274389_8943\Main.java:13: 错误: 需要class, interface或enum
#define mod 998244353
        ^
0_0_29274389_8943\Main.java:15: 错误: 需要class, interface或enum
int n;
^
0_0_29274389_8943\Main.java:16: 错误: 需要class, interface或enum
ll f[35];
^
0_0_29274389_8943\Main.java:17: 错误: 需要class, interface或enum
void init(){
^
0_0_29274389_8943\Main.java:19: 错误: 需要class, interface或enum
    memset(num,0,sizeof(num));
    ^
0_0_29274389_8943\Main.java:20: 错误: 需要class, interface或enum
    sz=1;
    ^
0_0_29274389_8943\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_29274389_8943\Main.java:26: 错误: 需要class, interface或enum
    for(int i=0;i<=30;i++){
    ^
0_0_29274389_8943\Main.java:26: 错误: 需要class, interface或enum
    for(int i=0;i<=30;i++){
                ^
0_0_29274389_8943\Main.java:26: 错误: 需要class, interface或enum
    for(int i=0;i<=30;i++){
                      ^
0_0_29274389_8943\Main.java:28: 错误: 需要class, interface或enum
        if(!ch[rt][c]){
        ^
0_0_29274389_8943\Main.java:30: 错误: 需要class, interface或enum
            val[sz]=0,num[sz]=0;
            ^
0_0_29274389_8943\Main.java:31: 错误: 需要class, interface或enum
            ch[rt][c]=sz++;
            ^
0_0_29274389_8943\Main.java:32: 错误: 需要class, interface或enum
        }
        ^
0_0_29274389_8943\Main.java:34: 错误: 需要class, interface或enum
        num[rt]++;
        ^
0_0_29274389_8943\Main.java:35: 错误: 需要class, interface或enum
    }
    ^
0_0_29274389_8943\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_29274389_8943\Main.java:41: 错误: 需要class, interface或enum
    for(int i=1;i<=32;i++)
    ^
0_0_29274389_8943\Main.java:41: 错误: 需要class, interface或enum
    for(int i=1;i<=32;i++)
                ^
0_0_29274389_8943\Main.java:41: 错误: 需要class, interface或enum
    for(int i=1;i<=32;i++)
                      ^
0_0_29274389_8943\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_29274389_8943\Main.java:48: 错误: 需要class, interface或enum
    ll c1,c2;
    ^
0_0_29274389_8943\Main.java:49: 错误: 需要class, interface或enum
    if(l!=0&&r!=0){
    ^
0_0_29274389_8943\Main.java:50: 错误: 需要class, interface或enum
        c1=num[l];  c2=num[r];
                    ^
0_0_29274389_8943\Main.java:51: 错误: 需要class, interface或enum
        ans=(ans+(c1*c2*f[dep])%mod)%mod;
        ^
0_0_29274389_8943\Main.java:52: 错误: 需要class, interface或enum
        dfs(l,dep+1);  dfs(r,dep+1);
        ^
0_0_29274389_8943\Main.java:52: 错误: 需要class, interface或enum
        dfs(l,dep+1);  dfs(r,dep+1);
                       ^
0_0_29274389_8943\Main.java:53: 错误: 需要class, interface或enum
    }
    ^
0_0_29274389_8943\Main.java:56: 错误: 需要class, interface或enum
    else if(r)
    ^
0_0_29274389_8943\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_29274389_8943\Main.java:62: 错误: 需要class, interface或enum
    init1();
    ^
0_0_29274389_8943\Main.java:63: 错误: 需要class, interface或enum
    scanf("%d",&T);
    ^
0_0_29274389_8943\Main.java:64: 错误: 需要class, interface或enum
    int kk=0;
    ^
0_0_29274389_8943\Main.java:65: 错误: 需要class, interface或enum
    while(T--)
    ^
0_0_29274389_8943\Main.java:68: 错误: 需要class, interface或enum
        scanf("%d",&n);
        ^
0_0_29274389_8943\Main.java:69: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++)
        ^
0_0_29274389_8943\Main.java:69: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++)
                    ^
0_0_29274389_8943\Main.java:69: 错误: 需要class, interface或enum
        for(int i=1;i<=n;i++)
                         ^
0_0_29274389_8943\Main.java:72: 错误: 需要class, interface或enum
            _insert(x);
            ^
0_0_29274389_8943\Main.java:73: 错误: 需要class, interface或enum
        }
        ^
0_0_29274389_8943\Main.java:75: 错误: 需要class, interface或enum
        dfs(0,1);
        ^
0_0_29274389_8943\Main.java:76: 错误: 需要class, interface或enum
        printf("Case #%d: ",++kk);
        ^
0_0_29274389_8943\Main.java:77: 错误: 需要class, interface或enum
        cout<<ans<<endl;
        ^
0_0_29274389_8943\Main.java:78: 错误: 需要class, interface或enum
    }
    ^
0_0_29274389_8943\Main.java:80: 错误: 需要class, interface或enum
}
^
56 个错误


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-26 12:42:50, Gzip enabled