/ Vijos /

记录详情

Compile Error

Main.java:1: error: illegal character: \35
#include<cstdio>
^
Main.java:1: error: class, interface, or enum expected
#include<cstdio>
        ^
Main.java:2: error: illegal character: \35
#include<cstring>
^
Main.java:3: error: illegal character: \35
#include<algorithm>
^
Main.java:4: error: illegal character: \35
#define Max 70
^
Main.java:7: error: class, interface, or enum expected
int map[Max][Max];
^
Main.java:8: error: class, interface, or enum expected
int m,n,k;//k:??????? 
^
Main.java:9: error: class, interface, or enum expected
int DP[2*Max][Max][Max];
^
Main.java:10: error: class, interface, or enum expected
int main()
^
Main.java:13: error: class, interface, or enum expected
	{
	^
Main.java:14: error: class, interface, or enum expected
		for(int i=1;i<=m;i++)
		            ^
Main.java:14: error: class, interface, or enum expected
		for(int i=1;i<=m;i++)
		                 ^
Main.java:15: error: class, interface, or enum expected
		for(int j=1;j<=n;j++)
		            ^
Main.java:15: error: class, interface, or enum expected
		for(int j=1;j<=n;j++)
		                 ^
Main.java:18: error: class, interface, or enum expected
		memset(DP,0,sizeof DP);
		^
Main.java:20: error: class, interface, or enum expected
		for(int k=2;k<=n+m-1;k++)
		^
Main.java:20: error: class, interface, or enum expected
		for(int k=2;k<=n+m-1;k++)
		            ^
Main.java:20: error: class, interface, or enum expected
		for(int k=2;k<=n+m-1;k++)
		                     ^
Main.java:21: error: class, interface, or enum expected
		for(int x1=1;x1<=m;x1++)
		             ^
Main.java:21: error: class, interface, or enum expected
		for(int x1=1;x1<=m;x1++)
		                   ^
Main.java:22: error: class, interface, or enum expected
		for(int x2=1;x2<=m;x2++)
		             ^
Main.java:22: error: class, interface, or enum expected
		for(int x2=1;x2<=m;x2++)
		                   ^
Main.java:25: error: class, interface, or enum expected
			DP[k][x1][x2] = max(max(DP[k-1][x1][x2],DP[k-1][x1-1][x2]),max(DP[k-1][x1][x2-1],DP[k-1][x1-1][x2-1]))
			^
Main.java:27: error: class, interface, or enum expected
		}
		^
Main.java:29: error: class, interface, or enum expected
	}
	^
Main.java:31: error: class, interface, or enum expected
}
^
26 errors

信息

递交者
类型
递交
题目
P1493 传纸条
语言
Java
递交时间
2016-10-16 14:51:10
评测时间
2016-10-16 14:51:17
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes