/ Vijos /

记录详情

Compile Error

/in/Main.java:1: error: illegal character: '#'
#include <iostream>
^
/in/Main.java:1: error: class, interface, or enum expected
#include <iostream>
         ^
/in/Main.java:2: error: illegal character: '#'
#include <vector>
^
/in/Main.java:3: error: illegal character: '#'
#include <cmath>
^
/in/Main.java:4: error: illegal character: '#'
#include <algorithm>
^
/in/Main.java:5: error: illegal character: '#'
#define MAXIMUM 9999999
^
/in/Main.java:6: error: illegal character: '#'
#define PRECISE 0.00001
^
/in/Main.java:8: error: class, interface, or enum expected
double x[100]={0},a[100][10]={0},f[100][10]={0};
^
/in/Main.java:9: error: class, interface, or enum expected
bool judge(int px1,int py1,int px2,int py2)
^
/in/Main.java:12: error: class, interface, or enum expected
	double A=y1-y2,B=x2-x1,C=x1*y2-x2*y1;
	^
/in/Main.java:13: error: class, interface, or enum expected
	for(int i=px2+1;i<=px1-1;++i)
	^
/in/Main.java:13: error: class, interface, or enum expected
	for(int i=px2+1;i<=px1-1;++i)
	                ^
/in/Main.java:13: error: class, interface, or enum expected
	for(int i=px2+1;i<=px1-1;++i)
	                         ^
/in/Main.java:16: error: class, interface, or enum expected
		for(int j=1;j<=2;++j)
		^
/in/Main.java:16: error: class, interface, or enum expected
		for(int j=1;j<=2;++j)
		            ^
/in/Main.java:16: error: class, interface, or enum expected
		for(int j=1;j<=2;++j)
		                 ^
/in/Main.java:19: error: class, interface, or enum expected
		    if(record+PRECISE>=a[i][j*2-1]&&record<=a[i][j*2]+PRECISE)
		    ^
/in/Main.java:22: error: class, interface, or enum expected
		    	break;
		    	^
/in/Main.java:23: error: class, interface, or enum expected
		    }
		    ^
/in/Main.java:27: error: class, interface, or enum expected
	}
	^
/in/Main.java:29: error: class, interface, or enum expected
}
^
/in/Main.java:33: error: class, interface, or enum expected
}
^
/in/Main.java:37: error: class, interface, or enum expected
	scanf("%d",&n);
	^
/in/Main.java:38: error: class, interface, or enum expected
	for(int i=1;i<=n;++i)
	^
/in/Main.java:38: error: class, interface, or enum expected
	for(int i=1;i<=n;++i)
	            ^
/in/Main.java:38: error: class, interface, or enum expected
	for(int i=1;i<=n;++i)
	                 ^
/in/Main.java:40: error: class, interface, or enum expected
	x[0]=0;
	^
/in/Main.java:41: error: class, interface, or enum expected
	a[0][1]=a[0][2]=a[0][3]=a[0][4]=5;
	^
/in/Main.java:42: error: class, interface, or enum expected
	x[n+1]=10;
	^
/in/Main.java:43: error: class, interface, or enum expected
	a[n+1][1]=a[n+1][2]=a[n+1][3]=a[n+1][4]=5;
	^
/in/Main.java:44: error: class, interface, or enum expected
	for(int i=1;i<=n+1;++i)
	^
/in/Main.java:44: error: class, interface, or enum expected
	for(int i=1;i<=n+1;++i)
	            ^
/in/Main.java:44: error: class, interface, or enum expected
	for(int i=1;i<=n+1;++i)
	                   ^
/in/Main.java:46: error: class, interface, or enum expected
		for(int k=1;k<=4;++k)
		            ^
/in/Main.java:46: error: class, interface, or enum expected
		for(int k=1;k<=4;++k)
		                 ^
/in/Main.java:49: error: class, interface, or enum expected
			for(int j=0;j<=i-1;++j)
			^
/in/Main.java:49: error: class, interface, or enum expected
			for(int j=0;j<=i-1;++j)
			            ^
/in/Main.java:49: error: class, interface, or enum expected
			for(int j=0;j<=i-1;++j)
			                   ^
/in/Main.java:51: error: class, interface, or enum expected
				for(int l=1;l<=4;++l)
				            ^
/in/Main.java:51: error: class, interface, or enum expected
				for(int l=1;l<=4;++l)
				                 ^
/in/Main.java:54: error: class, interface, or enum expected
			}
			^
/in/Main.java:56: error: class, interface, or enum expected
		}
		^
/in/Main.java:59: error: class, interface, or enum expected
}
^
43 errors

信息

递交者
类型
递交
题目
P1013 强墙
语言
Java
递交时间
2017-04-24 09:14:52
评测时间
2017-04-24 09:14:52
评测机
分数
0
总耗时
554ms
峰值内存
30.863 MiB