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_16331943_28188\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_16331943_28188\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_16331943_28188\Main.java:2: 错误: 非法字符: '#'
#include <string>
^
0_0_16331943_28188\Main.java:3: 错误: 非法字符: '#'
#include <stack>
^
0_0_16331943_28188\Main.java:4: 错误: 非法字符: '#'
#include <queue>
^
0_0_16331943_28188\Main.java:9: 错误: 非法的类型开始
public:
      ^
0_0_16331943_28188\Main.java:9: 错误: 需要';'
public:
       ^
0_0_16331943_28188\Main.java:10: 错误: 非法的类型开始
	node* left;
	    ^
0_0_16331943_28188\Main.java:11: 错误: 需要<标识符>
	node* right;
	    ^
0_0_16331943_28188\Main.java:11: 错误: 需要<标识符>
	node* right;
	           ^
0_0_16331943_28188\Main.java:17: 错误: 非法的类型开始
	~node()
	^
0_0_16331943_28188\Main.java:17: 错误: 需要';'
	~node()
	 ^
0_0_16331943_28188\Main.java:17: 错误: 非法的类型开始
	~node()
	     ^
0_0_16331943_28188\Main.java:17: 错误: 需要<标识符>
	~node()
	      ^
0_0_16331943_28188\Main.java:17: 错误: 需要';'
	~node()
	       ^
0_0_16331943_28188\Main.java:19: 错误: 非法的类型开始
		if(left)
		^
0_0_16331943_28188\Main.java:19: 错误: 需要<标识符>
		if(left)
		  ^
0_0_16331943_28188\Main.java:19: 错误: 需要';'
		if(left)
		   ^
0_0_16331943_28188\Main.java:19: 错误: 非法的类型开始
		if(left)
		       ^
0_0_16331943_28188\Main.java:20: 错误: 需要';'
			delete left;
			      ^
0_0_16331943_28188\Main.java:20: 错误: 需要<标识符>
			delete left;
			           ^
0_0_16331943_28188\Main.java:21: 错误: 非法的类型开始
		if(right)
		^
0_0_16331943_28188\Main.java:21: 错误: 需要<标识符>
		if(right)
		        ^
0_0_16331943_28188\Main.java:21: 错误: 需要';'
		if(right)
		         ^
0_0_16331943_28188\Main.java:24: 错误: 需要class, interface或enum
};
^
0_0_16331943_28188\Main.java:26: 错误: 需要class, interface或enum
void print(node* s)
^
0_0_16331943_28188\Main.java:29: 错误: 需要class, interface或enum
	char* o = output + 10000;
	^
0_0_16331943_28188\Main.java:30: 错误: 需要class, interface或enum
	*o = 0;
	^
0_0_16331943_28188\Main.java:31: 错误: 需要class, interface或enum
	queue<node*> q;
	^
0_0_16331943_28188\Main.java:32: 错误: 需要class, interface或enum
	q.push(s);
	^
0_0_16331943_28188\Main.java:33: 错误: 需要class, interface或enum
	while(!q.empty())
	^
0_0_16331943_28188\Main.java:36: 错误: 需要class, interface或enum
		q.pop();
		^
0_0_16331943_28188\Main.java:37: 错误: 需要class, interface或enum
		o--;
		^
0_0_16331943_28188\Main.java:38: 错误: 需要class, interface或enum
		*o = temp->c;
		^
0_0_16331943_28188\Main.java:39: 错误: 需要class, interface或enum
		if(temp->left) q.push(temp->left);
		^
0_0_16331943_28188\Main.java:40: 错误: 需要class, interface或enum
		if(temp->right) q.push(temp->right);
		^
0_0_16331943_28188\Main.java:41: 错误: 需要class, interface或enum
	}
	^
0_0_16331943_28188\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_16331943_28188\Main.java:48: 错误: 需要class, interface或enum
	scanf("%d",&n);
	^
0_0_16331943_28188\Main.java:49: 错误: 需要class, interface或enum
	while(n--)
	^
0_0_16331943_28188\Main.java:52: 错误: 需要class, interface或enum
		scanf("%s",input);
		^
0_0_16331943_28188\Main.java:53: 错误: 需要class, interface或enum
		int len = strlen(input);
		^
0_0_16331943_28188\Main.java:54: 错误: 需要class, interface或enum
		stack<node*> s;
		^
0_0_16331943_28188\Main.java:55: 错误: 需要class, interface或enum
		node* temp;
		^
0_0_16331943_28188\Main.java:56: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++)
		^
0_0_16331943_28188\Main.java:56: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++)
		            ^
0_0_16331943_28188\Main.java:56: 错误: 需要class, interface或enum
		for(int i=0;i<len;i++)
		                  ^
0_0_16331943_28188\Main.java:61: 错误: 需要class, interface或enum
				temp->c = input[i];
				^
0_0_16331943_28188\Main.java:62: 错误: 需要class, interface或enum
				s.push(temp);
				^
0_0_16331943_28188\Main.java:63: 错误: 需要class, interface或enum
			}
			^
0_0_16331943_28188\Main.java:67: 错误: 需要class, interface或enum
				right = s.top();
				^
0_0_16331943_28188\Main.java:68: 错误: 需要class, interface或enum
				s.pop();
				^
0_0_16331943_28188\Main.java:69: 错误: 需要class, interface或enum
				left = s.top();
				^
0_0_16331943_28188\Main.java:70: 错误: 需要class, interface或enum
				s.pop();
				^
0_0_16331943_28188\Main.java:71: 错误: 需要class, interface或enum
				temp = new node;
				^
0_0_16331943_28188\Main.java:72: 错误: 需要class, interface或enum
				temp->c = input[i];
				^
0_0_16331943_28188\Main.java:73: 错误: 需要class, interface或enum
				temp->left = left;
				^
0_0_16331943_28188\Main.java:74: 错误: 需要class, interface或enum
				temp->right = right;
				^
0_0_16331943_28188\Main.java:75: 错误: 需要class, interface或enum
				s.push(temp);
				^
0_0_16331943_28188\Main.java:76: 错误: 需要class, interface或enum
			}
			^
0_0_16331943_28188\Main.java:79: 错误: 需要class, interface或enum
		delete s.top();
		^
0_0_16331943_28188\Main.java:80: 错误: 需要class, interface或enum
		s.pop();
		^
0_0_16331943_28188\Main.java:81: 错误: 需要class, interface或enum
	}
	^
63 个错误


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-30 08:57:01, Gzip enabled