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_29375717_19524\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_29375717_19524\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_29375717_19524\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_29375717_19524\Main.java:3: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_29375717_19524\Main.java:4: 错误: 非法字符: '#'
#include <queue>
^
0_0_29375717_19524\Main.java:7: 错误: 需要class, interface或enum
typedef long long LL ;
^
0_0_29375717_19524\Main.java:9: 错误: 非法字符: '#'
#define rep( i , a , b ) for ( int i = a ; i < b ; ++ i )
^
0_0_29375717_19524\Main.java:9: 错误: 需要class, interface或enum
#define rep( i , a , b ) for ( int i = a ; i < b ; ++ i )
        ^
0_0_29375717_19524\Main.java:9: 错误: 需要class, interface或enum
#define rep( i , a , b ) for ( int i = a ; i < b ; ++ i )
                                           ^
0_0_29375717_19524\Main.java:9: 错误: 需要class, interface或enum
#define rep( i , a , b ) for ( int i = a ; i < b ; ++ i )
                                                   ^
0_0_29375717_19524\Main.java:10: 错误: 非法字符: '#'
#define For( i , a , b ) for ( int i = a ; i <= b ; ++ i )
^
0_0_29375717_19524\Main.java:10: 错误: 需要class, interface或enum
#define For( i , a , b ) for ( int i = a ; i <= b ; ++ i )
                                           ^
0_0_29375717_19524\Main.java:10: 错误: 需要class, interface或enum
#define For( i , a , b ) for ( int i = a ; i <= b ; ++ i )
                                                    ^
0_0_29375717_19524\Main.java:11: 错误: 非法字符: '#'
#define rev( i , a , b ) for ( int i = a ; i >= b ; -- i )
^
0_0_29375717_19524\Main.java:11: 错误: 需要class, interface或enum
#define rev( i , a , b ) for ( int i = a ; i >= b ; -- i )
                                           ^
0_0_29375717_19524\Main.java:11: 错误: 需要class, interface或enum
#define rev( i , a , b ) for ( int i = a ; i >= b ; -- i )
                                                    ^
0_0_29375717_19524\Main.java:12: 错误: 非法字符: '#'
#define travel( e , H , u ) for ( Edge* e = H[u] ; e ; e = e -> next )
^
0_0_29375717_19524\Main.java:12: 错误: 需要class, interface或enum
#define travel( e , H , u ) for ( Edge* e = H[u] ; e ; e = e -> next )
                                                   ^
0_0_29375717_19524\Main.java:12: 错误: 需要class, interface或enum
#define travel( e , H , u ) for ( Edge* e = H[u] ; e ; e = e -> next )
                                                       ^
0_0_29375717_19524\Main.java:13: 错误: 非法字符: '#'
#define clr( a , x ) memset ( a , x , sizeof a )
^
0_0_29375717_19524\Main.java:14: 错误: 非法字符: '#'
#define cpy( a , x ) memcpy ( a , x , sizeof a )
^
0_0_29375717_19524\Main.java:17: 错误: 需要class, interface或enum
const int MAXE = 233333 ;
^
0_0_29375717_19524\Main.java:18: 错误: 需要class, interface或enum
const int INF = 0x3f3f3f3f ;
^
0_0_29375717_19524\Main.java:19: 错误: 需要class, interface或enum
const int M = 100000 ;
^
0_0_29375717_19524\Main.java:21: 错误: 需要class, interface或enum
struct Edge {
^
0_0_29375717_19524\Main.java:23: 错误: 需要class, interface或enum
	Edge () {}
	^
0_0_29375717_19524\Main.java:27: 错误: 需要class, interface或enum
int H[MAXN] , D[MAXN] , cntE , cntE2 ;
^
0_0_29375717_19524\Main.java:28: 错误: 需要class, interface或enum
int d[MAXN] , cur[MAXN] , cap[MAXN] , vis[MAXN] ;
^
0_0_29375717_19524\Main.java:29: 错误: 需要class, interface或enum
int Q[MAXN] , head , tail ;
^
0_0_29375717_19524\Main.java:30: 错误: 需要class, interface或enum
int s , t ;
^
0_0_29375717_19524\Main.java:31: 错误: 需要class, interface或enum
int flow ;
^
0_0_29375717_19524\Main.java:32: 错误: 需要class, interface或enum
int cost ;
^
0_0_29375717_19524\Main.java:33: 错误: 需要class, interface或enum
int n , m ;
^
0_0_29375717_19524\Main.java:35: 错误: 需要class, interface或enum
int siz[MAXN] ;
^
0_0_29375717_19524\Main.java:37: 错误: 需要class, interface或enum
void clear () {
^
0_0_29375717_19524\Main.java:39: 错误: 需要class, interface或enum
	clr ( H , -1 ) ;
	^
0_0_29375717_19524\Main.java:40: 错误: 需要class, interface或enum
	clr ( D , -1 ) ;
	^
0_0_29375717_19524\Main.java:41: 错误: 需要class, interface或enum
}
^
0_0_29375717_19524\Main.java:45: 错误: 需要class, interface或enum
	H[u] = cntE ++ ;
	^
0_0_29375717_19524\Main.java:46: 错误: 需要class, interface或enum
	E[cntE] = Edge ( u , 0 , -w , H[v] ) ;
	^
0_0_29375717_19524\Main.java:47: 错误: 需要class, interface或enum
	H[v] = cntE ++ ;
	^
0_0_29375717_19524\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_29375717_19524\Main.java:52: 错误: 需要class, interface或enum
	D[u] = cntE2 ++ ;
	^
0_0_29375717_19524\Main.java:53: 错误: 需要class, interface或enum
}
^
0_0_29375717_19524\Main.java:57: 错误: 需要class, interface或enum
	clr ( d , INF ) ;
	^
0_0_29375717_19524\Main.java:58: 错误: 需要class, interface或enum
	clr ( vis , 0 ) ;
	^
0_0_29375717_19524\Main.java:59: 错误: 需要class, interface或enum
	Q[tail ++] = s ;
	^
0_0_29375717_19524\Main.java:60: 错误: 需要class, interface或enum
	d[s] = 0 ;
	^
0_0_29375717_19524\Main.java:61: 错误: 需要class, interface或enum
	cap[s] = INF ;
	^
0_0_29375717_19524\Main.java:62: 错误: 需要class, interface或enum
	cur[s] = -1 ;
	^
0_0_29375717_19524\Main.java:63: 错误: 需要class, interface或enum
	while ( head != tail ) {
	^
0_0_29375717_19524\Main.java:65: 错误: 需要class, interface或enum
		if ( head == MAXN ) head = 0 ;
		^
0_0_29375717_19524\Main.java:66: 错误: 需要class, interface或enum
		vis[u] = 0 ;
		^
0_0_29375717_19524\Main.java:67: 错误: 需要class, interface或enum
		for ( int i = H[u] ; ~i ; i = E[i].n ) {
		^
0_0_29375717_19524\Main.java:67: 错误: 需要class, interface或enum
		for ( int i = H[u] ; ~i ; i = E[i].n ) {
		                     ^
0_0_29375717_19524\Main.java:67: 错误: 需要class, interface或enum
		for ( int i = H[u] ; ~i ; i = E[i].n ) {
		                          ^
0_0_29375717_19524\Main.java:69: 错误: 需要class, interface或enum
			if ( c && d[v] > d[u] + w ) {
			^
0_0_29375717_19524\Main.java:71: 错误: 需要class, interface或enum
				cap[v] = min ( cap[u] , c ) ;
				^
0_0_29375717_19524\Main.java:72: 错误: 需要class, interface或enum
				cur[v] = i ;
				^
0_0_29375717_19524\Main.java:73: 错误: 需要class, interface或enum
				if ( !vis[v] ) {
				^
0_0_29375717_19524\Main.java:75: 错误: 需要class, interface或enum
					Q[tail ++] = v ;
					^
0_0_29375717_19524\Main.java:76: 错误: 需要class, interface或enum
					if ( tail == MAXN ) tail = 0 ;
					^
0_0_29375717_19524\Main.java:77: 错误: 需要class, interface或enum
				}
				^
0_0_29375717_19524\Main.java:82: 错误: 需要class, interface或enum
	cost += d[t] * cap[t] ;
	^
0_0_29375717_19524\Main.java:83: 错误: 需要class, interface或enum
	flow += cap[t] ;
	^
0_0_29375717_19524\Main.java:84: 错误: 需要class, interface或enum
	for ( int i = cur[t] ; ~i ; i = cur[E[i ^ 1].v] ) {
	^
0_0_29375717_19524\Main.java:84: 错误: 需要class, interface或enum
	for ( int i = cur[t] ; ~i ; i = cur[E[i ^ 1].v] ) {
	                       ^
0_0_29375717_19524\Main.java:84: 错误: 需要class, interface或enum
	for ( int i = cur[t] ; ~i ; i = cur[E[i ^ 1].v] ) {
	                            ^
0_0_29375717_19524\Main.java:86: 错误: 需要class, interface或enum
		E[i ^ 1].c += cap[t] ;
		^
0_0_29375717_19524\Main.java:87: 错误: 需要class, interface或enum
	}
	^
0_0_29375717_19524\Main.java:89: 错误: 需要class, interface或enum
}
^
0_0_29375717_19524\Main.java:93: 错误: 需要class, interface或enum
	while ( spfa () ) ;
	^
0_0_29375717_19524\Main.java:94: 错误: 需要class, interface或enum
	return cost ;
	^
0_0_29375717_19524\Main.java:95: 错误: 需要class, interface或enum
}
^
0_0_29375717_19524\Main.java:99: 错误: 需要class, interface或enum
	bool leaf = 1 ;
	^
0_0_29375717_19524\Main.java:100: 错误: 需要class, interface或enum
	for ( int i = D[u] ; ~i ; i = E2[i].n ) {
	^
0_0_29375717_19524\Main.java:100: 错误: 需要class, interface或enum
	for ( int i = D[u] ; ~i ; i = E2[i].n ) {
	                     ^
0_0_29375717_19524\Main.java:100: 错误: 需要class, interface或enum
	for ( int i = D[u] ; ~i ; i = E2[i].n ) {
	                          ^
0_0_29375717_19524\Main.java:102: 错误: 需要class, interface或enum
		leaf = 0 ;
		^
0_0_29375717_19524\Main.java:103: 错误: 需要class, interface或enum
		dfs ( v ) ;
		^
0_0_29375717_19524\Main.java:104: 错误: 需要class, interface或enum
		siz[u] += siz[v] ;
		^
0_0_29375717_19524\Main.java:105: 错误: 需要class, interface或enum
		addedge ( v , u , siz[v] * M - E2[i].w , 0 ) ;
		^
0_0_29375717_19524\Main.java:106: 错误: 需要class, interface或enum
	}
	^
0_0_29375717_19524\Main.java:108: 错误: 需要class, interface或enum
}
^
0_0_29375717_19524\Main.java:112: 错误: 需要class, interface或enum
	clear () ;
	^
0_0_29375717_19524\Main.java:113: 错误: 需要class, interface或enum
	s = 0 ;
	^
0_0_29375717_19524\Main.java:114: 错误: 需要class, interface或enum
	t = 1 ;
	^
0_0_29375717_19524\Main.java:115: 错误: 需要class, interface或enum
	scanf ( "%d" , &n ) ;
	^
0_0_29375717_19524\Main.java:116: 错误: 需要class, interface或enum
	rep ( i , 1 , n ) {
	^
0_0_29375717_19524\Main.java:118: 错误: 需要class, interface或enum
		add_tree_edge ( v , u , w ) ;
		^
0_0_29375717_19524\Main.java:119: 错误: 需要class, interface或enum


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-01-11 03:47:53, Gzip enabled