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_34961416_771\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_34961416_771\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_34961416_771\Main.java:3: 错误: 需要class, interface或enum
void check_max (int &a,int b) {a=max (a,b);}
^
0_0_34961416_771\Main.java:3: 错误: 需要class, interface或enum
void check_max (int &a,int b) {a=max (a,b);}
                                           ^
0_0_34961416_771\Main.java:4: 错误: 需要class, interface或enum
void check_min (int &a,int b) {a=min (a,b);}
                                           ^
0_0_34961416_771\Main.java:6: 错误: 需要class, interface或enum
int n;
^
0_0_34961416_771\Main.java:7: 错误: 需要class, interface或enum
struct node {
^
0_0_34961416_771\Main.java:9: 错误: 需要class, interface或enum
	node *leftchild,*rightchild;
	^
0_0_34961416_771\Main.java:10: 错误: 需要class, interface或enum
    node () {
    ^
0_0_34961416_771\Main.java:12: 错误: 需要class, interface或enum
		rightchild=NULL;
		^
0_0_34961416_771\Main.java:13: 错误: 需要class, interface或enum
	}
	^
0_0_34961416_771\Main.java:16: 错误: 需要class, interface或enum
void insert (node *&root,int data) {
^
0_0_34961416_771\Main.java:19: 错误: 需要class, interface或enum
		root->data=data;
		^
0_0_34961416_771\Main.java:20: 错误: 需要class, interface或enum
		return ;
		^
0_0_34961416_771\Main.java:21: 错误: 需要class, interface或enum
	}
	^
0_0_34961416_771\Main.java:23: 错误: 需要class, interface或enum
	else if (data>root->data) insert (root->rightchild,data);
	^
0_0_34961416_771\Main.java:24: 错误: 需要class, interface或enum
	else if (root->rightchild,data) insert (root->leftchild,data);
	^
0_0_34961416_771\Main.java:25: 错误: 需要class, interface或enum
	return ;
	^
0_0_34961416_771\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_34961416_771\Main.java:30: 错误: 需要class, interface或enum
	for (auto it:v) {
	^
0_0_34961416_771\Main.java:32: 错误: 需要class, interface或enum
	}
	^
0_0_34961416_771\Main.java:34: 错误: 需要class, interface或enum
}
^
0_0_34961416_771\Main.java:38: 错误: 需要class, interface或enum
	printf ("%d ",root->data);
	^
0_0_34961416_771\Main.java:39: 错误: 需要class, interface或enum
	pre_travel (root->leftchild);
	^
0_0_34961416_771\Main.java:40: 错误: 需要class, interface或enum
	pre_travel (root->rightchild);
	^
0_0_34961416_771\Main.java:41: 错误: 需要class, interface或enum
	return ;
	^
0_0_34961416_771\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_34961416_771\Main.java:47: 错误: 需要class, interface或enum
		for (int i=1;i<=n;i++) {
		^
0_0_34961416_771\Main.java:47: 错误: 需要class, interface或enum
		for (int i=1;i<=n;i++) {
		             ^
0_0_34961416_771\Main.java:47: 错误: 需要class, interface或enum
		for (int i=1;i<=n;i++) {
		                  ^
0_0_34961416_771\Main.java:48: 错误: 需要class, interface或enum
			int x; scanf ("%d",&x);
			       ^
0_0_34961416_771\Main.java:49: 错误: 需要class, interface或enum
			v.push_back (x);
			^
0_0_34961416_771\Main.java:50: 错误: 需要class, interface或enum
		}
		^
0_0_34961416_771\Main.java:52: 错误: 需要class, interface或enum
		pre_travel (root);
		^
0_0_34961416_771\Main.java:53: 错误: 需要class, interface或enum
		printf ("\n");
		^
0_0_34961416_771\Main.java:54: 错误: 需要class, interface或enum
	}
	^
0_0_34961416_771\Main.java:56: 错误: 需要class, interface或enum
}
^
37 个错误


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