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_26214547_8625\Main.java:1: 错误: 非法字符: '#'
#include <bits/stdc++.h>
^
0_0_26214547_8625\Main.java:1: 错误: 需要class, interface或enum
#include <bits/stdc++.h>
         ^
0_0_26214547_8625\Main.java:3: 错误: 需要class, interface或enum
const int maxn=110;
^
0_0_26214547_8625\Main.java:4: 错误: 需要class, interface或enum
int N,M;
^
0_0_26214547_8625\Main.java:5: 错误: 需要class, interface或enum
struct Node
^
0_0_26214547_8625\Main.java:8: 错误: 需要class, interface或enum
}node[maxn];
^
0_0_26214547_8625\Main.java:9: 错误: 需要class, interface或enum
int dp[maxn][maxn];
^
0_0_26214547_8625\Main.java:10: 错误: 需要class, interface或enum
int adj[maxn][maxn];
^
0_0_26214547_8625\Main.java:11: 错误: 需要class, interface或enum
bool vis[maxn];
^
0_0_26214547_8625\Main.java:13: 错误: 需要class, interface或enum
void dfs(int root)
^
0_0_26214547_8625\Main.java:16: 错误: 需要class, interface或enum
    int num=(node[root].number+19)/20;
    ^
0_0_26214547_8625\Main.java:17: 错误: 需要class, interface或enum
    for(int i=num;i<=M;i++) dp[root][i]=node[root].p;
    ^
0_0_26214547_8625\Main.java:17: 错误: 需要class, interface或enum
    for(int i=num;i<=M;i++) dp[root][i]=node[root].p;
                  ^
0_0_26214547_8625\Main.java:17: 错误: 需要class, interface或enum
    for(int i=num;i<=M;i++) dp[root][i]=node[root].p;
                       ^
0_0_26214547_8625\Main.java:18: 错误: 需要class, interface或enum
    for(int i=1;i<adj[root][0];i++)
    ^
0_0_26214547_8625\Main.java:18: 错误: 需要class, interface或enum
    for(int i=1;i<adj[root][0];i++)
                ^
0_0_26214547_8625\Main.java:18: 错误: 需要class, interface或enum
    for(int i=1;i<adj[root][0];i++)
                               ^
0_0_26214547_8625\Main.java:21: 错误: 需要class, interface或enum
        if(vis[u]) continue;
        ^
0_0_26214547_8625\Main.java:22: 错误: 需要class, interface或enum
        dfs(u);
        ^
0_0_26214547_8625\Main.java:23: 错误: 需要class, interface或enum
        for(int j=M;j>=num;j--)
        ^
0_0_26214547_8625\Main.java:23: 错误: 需要class, interface或enum
        for(int j=M;j>=num;j--)
                    ^
0_0_26214547_8625\Main.java:23: 错误: 需要class, interface或enum
        for(int j=M;j>=num;j--)
                           ^
0_0_26214547_8625\Main.java:25: 错误: 需要class, interface或enum
            for(int k=1;j+k<=M;k++)
                        ^
0_0_26214547_8625\Main.java:25: 错误: 需要class, interface或enum
            for(int k=1;j+k<=M;k++)
                               ^
0_0_26214547_8625\Main.java:29: 错误: 需要class, interface或enum
            }
            ^
0_0_26214547_8625\Main.java:36: 错误: 需要class, interface或enum
    while(~scanf("%d%d",&N,&M))
    ^
0_0_26214547_8625\Main.java:39: 错误: 需要class, interface或enum
        memset(vis,false,sizeof(vis));
        ^
0_0_26214547_8625\Main.java:40: 错误: 需要class, interface或enum
        memset(dp,0,sizeof(dp));
        ^
0_0_26214547_8625\Main.java:41: 错误: 需要class, interface或enum
        memset(adj,0,sizeof(adj));
        ^
0_0_26214547_8625\Main.java:42: 错误: 需要class, interface或enum
        for(int i=1;i<=N;i++)
        ^
0_0_26214547_8625\Main.java:42: 错误: 需要class, interface或enum
        for(int i=1;i<=N;i++)
                    ^
0_0_26214547_8625\Main.java:42: 错误: 需要class, interface或enum
        for(int i=1;i<=N;i++)
                         ^
0_0_26214547_8625\Main.java:44: 错误: 需要class, interface或enum
        for(int i=1;i<N;i++)
        ^
0_0_26214547_8625\Main.java:44: 错误: 需要class, interface或enum
        for(int i=1;i<N;i++)
                    ^
0_0_26214547_8625\Main.java:44: 错误: 需要class, interface或enum
        for(int i=1;i<N;i++)
                        ^
0_0_26214547_8625\Main.java:47: 错误: 需要class, interface或enum
            adj[a][0]++;
            ^
0_0_26214547_8625\Main.java:48: 错误: 需要class, interface或enum
            adj[a][adj[a][0]]=b;
            ^
0_0_26214547_8625\Main.java:49: 错误: 需要class, interface或enum
            adj[b][0]++;
            ^
0_0_26214547_8625\Main.java:50: 错误: 需要class, interface或enum
            adj[b][adj[b][0]]=a;
            ^
0_0_26214547_8625\Main.java:51: 错误: 需要class, interface或enum
        }
        ^
0_0_26214547_8625\Main.java:55: 错误: 需要class, interface或enum
            continue;
            ^
0_0_26214547_8625\Main.java:56: 错误: 需要class, interface或enum
        }
        ^
0_0_26214547_8625\Main.java:58: 错误: 需要class, interface或enum
        printf("%d\n",dp[1][M]);
        ^
0_0_26214547_8625\Main.java:59: 错误: 需要class, interface或enum
    }
    ^
44 个错误


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-12-03 19:39:41, Gzip enabled