Banner Home Page DIY Contests Problems Ranklist Status Statistics

View Compilation Error

2_29617_2343398_6826\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
2_29617_2343398_6826\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
2_29617_2343398_6826\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
2_29617_2343398_6826\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
2_29617_2343398_6826\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
2_29617_2343398_6826\Main.java:6: 错误: 需要class, interface或enum
const int N=100005;
^
2_29617_2343398_6826\Main.java:8: 错误: 需要class, interface或enum
double stack[N],num[N];
^
2_29617_2343398_6826\Main.java:10: 错误: 需要class, interface或enum
int main(){
^
2_29617_2343398_6826\Main.java:12: 错误: 需要class, interface或enum
    while(~scanf("%lld",&n)){
    ^
2_29617_2343398_6826\Main.java:14: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		^
2_29617_2343398_6826\Main.java:14: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		        ^
2_29617_2343398_6826\Main.java:14: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		            ^
2_29617_2343398_6826\Main.java:17: 错误: 需要class, interface或enum
		long long top=0;
		^
2_29617_2343398_6826\Main.java:18: 错误: 需要class, interface或enum
		stack[++top]=num[0];
		^
2_29617_2343398_6826\Main.java:19: 错误: 需要class, interface或enum
		for(i=1;i<n;i++){
		^
2_29617_2343398_6826\Main.java:19: 错误: 需要class, interface或enum
		for(i=1;i<n;i++){
		        ^
2_29617_2343398_6826\Main.java:19: 错误: 需要class, interface或enum
		for(i=1;i<n;i++){
		            ^
2_29617_2343398_6826\Main.java:22: 错误: 需要class, interface或enum
			else{//不上升
			^
2_29617_2343398_6826\Main.java:23: 错误: 需要class, interface或enum
				l=0;r=top;
				    ^
2_29617_2343398_6826\Main.java:24: 错误: 需要class, interface或enum
				while(l<=r){
				^
2_29617_2343398_6826\Main.java:26: 错误: 需要class, interface或enum
					if(stack[m]<num[i])//
					^
2_29617_2343398_6826\Main.java:28: 错误: 需要class, interface或enum
					else
					^
2_29617_2343398_6826\Main.java:30: 错误: 需要class, interface或enum
				}
				^
2_29617_2343398_6826\Main.java:32: 错误: 需要class, interface或enum
			}
			^
2_29617_2343398_6826\Main.java:35: 错误: 需要class, interface或enum
	}
	^
2_29617_2343398_6826\Main.java:37: 错误: 需要class, interface或enum
}
^
26 个错误