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_30108714_13482\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_30108714_13482\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_30108714_13482\Main.java:2: 错误: 非法字符: '#'
#include <queue>
^
0_0_30108714_13482\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_30108714_13482\Main.java:6: 错误: 需要class, interface或enum
int main(int argc, const char * argv[])
^
0_0_30108714_13482\Main.java:9: 错误: 需要class, interface或enum
	priority_queue<int,vector<int>,greater<int> >Q0;
	^
0_0_30108714_13482\Main.java:10: 错误: 需要class, interface或enum
	priority_queue<int,vector<int>,less<int> >Q1;
	^
0_0_30108714_13482\Main.java:11: 错误: 需要class, interface或enum
	int tmp_arr[2001],arr[2001];
	^
0_0_30108714_13482\Main.java:12: 错误: 需要class, interface或enum
	cin >> cas;
	^
0_0_30108714_13482\Main.java:13: 错误: 需要class, interface或enum
	while (cas--) {
	^
0_0_30108714_13482\Main.java:15: 错误: 需要class, interface或enum
		for (int j=0; j<n; j++) {
		^
0_0_30108714_13482\Main.java:15: 错误: 需要class, interface或enum
		for (int j=0; j<n; j++) {
		              ^
0_0_30108714_13482\Main.java:15: 错误: 需要class, interface或enum
		for (int j=0; j<n; j++) {
		                   ^
0_0_30108714_13482\Main.java:17: 错误: 需要class, interface或enum
			Q0.push(t);
			^
0_0_30108714_13482\Main.java:18: 错误: 需要class, interface或enum
		}
		^
0_0_30108714_13482\Main.java:21: 错误: 需要class, interface或enum
			for (int j=0; j<n; j++)
			^
0_0_30108714_13482\Main.java:21: 错误: 需要class, interface或enum
			for (int j=0; j<n; j++)
			              ^
0_0_30108714_13482\Main.java:21: 错误: 需要class, interface或enum
			for (int j=0; j<n; j++)
			                   ^
0_0_30108714_13482\Main.java:23: 错误: 需要class, interface或enum
			while (!Q0.empty()) {
			^
0_0_30108714_13482\Main.java:25: 错误: 需要class, interface或enum
				Q0.pop();
				^
0_0_30108714_13482\Main.java:26: 错误: 需要class, interface或enum
			}
			^
0_0_30108714_13482\Main.java:27: 错误: 需要class, interface或enum
			for (int j=0; j<n; j++)
			              ^
0_0_30108714_13482\Main.java:27: 错误: 需要class, interface或enum
			for (int j=0; j<n; j++)
			                   ^
0_0_30108714_13482\Main.java:29: 错误: 需要class, interface或enum
			for (int j=1; j<n; j++) {
			^
0_0_30108714_13482\Main.java:29: 错误: 需要class, interface或enum
			for (int j=1; j<n; j++) {
			              ^
0_0_30108714_13482\Main.java:29: 错误: 需要class, interface或enum
			for (int j=1; j<n; j++) {
			                   ^
0_0_30108714_13482\Main.java:30: 错误: 需要class, interface或enum
				for (int k=0; k<n; k++) {
				              ^
0_0_30108714_13482\Main.java:30: 错误: 需要class, interface或enum
				for (int k=0; k<n; k++) {
				                   ^
0_0_30108714_13482\Main.java:33: 错误: 需要class, interface或enum
					Q1.push(tmp_arr[k]+arr[j]);
					^
0_0_30108714_13482\Main.java:34: 错误: 需要class, interface或enum
				}
				^
0_0_30108714_13482\Main.java:35: 错误: 需要class, interface或enum
				for (int j=Q1.size(); j>n; j--)
				                      ^
0_0_30108714_13482\Main.java:35: 错误: 需要class, interface或enum
				for (int j=Q1.size(); j>n; j--)
				                           ^
0_0_30108714_13482\Main.java:37: 错误: 需要class, interface或enum
			}
			^
0_0_30108714_13482\Main.java:41: 错误: 需要class, interface或enum
				Q1.pop();
				^
0_0_30108714_13482\Main.java:42: 错误: 需要class, interface或enum
			}
			^
0_0_30108714_13482\Main.java:44: 错误: 需要class, interface或enum
		for (int j=0; j<n; j++) {
		              ^
0_0_30108714_13482\Main.java:44: 错误: 需要class, interface或enum
		for (int j=0; j<n; j++) {
		                   ^
0_0_30108714_13482\Main.java:46: 错误: 需要class, interface或enum
			cout<<Q0.top();
			^
0_0_30108714_13482\Main.java:47: 错误: 需要class, interface或enum
			Q0.pop();
			^
0_0_30108714_13482\Main.java:48: 错误: 需要class, interface或enum
		}
		^
0_0_30108714_13482\Main.java:50: 错误: 需要class, interface或enum
	}
	^
0_0_30108714_13482\Main.java:52: 错误: 需要class, interface或enum
}
^
42 个错误


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-22 15:59:49, Gzip enabled