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_16741269_5551\Main.java:5: 错误: 非法字符: '#'
#include "iostream"
^
0_0_16741269_5551\Main.java:5: 错误: 需要class, interface或enum
#include "iostream"
         ^
0_0_16741269_5551\Main.java:6: 错误: 非法字符: '#'
#include "vector"
^
0_0_16741269_5551\Main.java:10: 错误: 需要class, interface或enum
int main()
^
0_0_16741269_5551\Main.java:13: 错误: 需要class, interface或enum
	vector<bool> isthree;
	^
0_0_16741269_5551\Main.java:14: 错误: 需要class, interface或enum
	int temp,k,ki;
	^
0_0_16741269_5551\Main.java:15: 错误: 需要class, interface或enum
	long n,m,l,r;     //n表示输入数据的数量,m表示查找数据的数量
	^
0_0_16741269_5551\Main.java:16: 错误: 需要class, interface或enum
	long i,j,sum;
	^
0_0_16741269_5551\Main.java:18: 错误: 需要class, interface或enum
	cin>>k;
	^
0_0_16741269_5551\Main.java:19: 错误: 需要class, interface或enum
for(ki=0;ki<k;ki++)
^
0_0_16741269_5551\Main.java:19: 错误: 需要class, interface或enum
for(ki=0;ki<k;ki++)
         ^
0_0_16741269_5551\Main.java:19: 错误: 需要class, interface或enum
for(ki=0;ki<k;ki++)
              ^
0_0_16741269_5551\Main.java:24: 错误: 需要class, interface或enum
	cin>>temp;          //前两个不涉及三联体
	^
0_0_16741269_5551\Main.java:25: 错误: 需要class, interface或enum
	input.push_back(temp);
	^
0_0_16741269_5551\Main.java:27: 错误: 需要class, interface或enum
	cin>>temp;
	^
0_0_16741269_5551\Main.java:28: 错误: 需要class, interface或enum
	input.push_back(temp);
	^
0_0_16741269_5551\Main.java:30: 错误: 需要class, interface或enum
	for(i=2;i<n;i++)
	^
0_0_16741269_5551\Main.java:30: 错误: 需要class, interface或enum
	for(i=2;i<n;i++)
	        ^
0_0_16741269_5551\Main.java:30: 错误: 需要class, interface或enum
	for(i=2;i<n;i++)
	            ^
0_0_16741269_5551\Main.java:33: 错误: 需要class, interface或enum
		input.push_back(temp);
		^
0_0_16741269_5551\Main.java:34: 错误: 需要class, interface或enum
		if(input[i-2]<=input[i-1] && input[i-1]<=input[i]) 
		^
0_0_16741269_5551\Main.java:36: 错误: 需要class, interface或enum
		else isthree.push_back(false);
		^
0_0_16741269_5551\Main.java:37: 错误: 需要class, interface或enum
	}
	^
0_0_16741269_5551\Main.java:41: 错误: 需要class, interface或enum
	for(j=0;j<m;j++)
	^
0_0_16741269_5551\Main.java:41: 错误: 需要class, interface或enum
	for(j=0;j<m;j++)
	        ^
0_0_16741269_5551\Main.java:41: 错误: 需要class, interface或enum
	for(j=0;j<m;j++)
	            ^
0_0_16741269_5551\Main.java:44: 错误: 需要class, interface或enum
		sum=0;
		^
0_0_16741269_5551\Main.java:45: 错误: 需要class, interface或enum
		for(i=l-1;i<r-2;i++)
		^
0_0_16741269_5551\Main.java:45: 错误: 需要class, interface或enum
		for(i=l-1;i<r-2;i++)
		          ^
0_0_16741269_5551\Main.java:45: 错误: 需要class, interface或enum
		for(i=l-1;i<r-2;i++)
		                ^
0_0_16741269_5551\Main.java:47: 错误: 需要class, interface或enum
		cout<<sum<<endl;
		^
0_0_16741269_5551\Main.java:48: 错误: 需要class, interface或enum
	}
	^
0_0_16741269_5551\Main.java:51: 错误: 需要class, interface或enum
}
^
33 个错误


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 00:57:55, Gzip enabled