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_29434151_31055\Main.java:36: 错误: 非法字符: '#'
#include"stdio.h"
^
0_0_29434151_31055\Main.java:36: 错误: 需要class, interface或enum
#include"stdio.h"
        ^
0_0_29434151_31055\Main.java:37: 错误: 非法字符: '#'
#include"string.h"
^
0_0_29434151_31055\Main.java:41: 错误: 需要class, interface或enum
	int i1,i2,i_temp,l;
	^
0_0_29434151_31055\Main.java:42: 错误: 需要class, interface或enum
	int temp[105];
	^
0_0_29434151_31055\Main.java:43: 错误: 需要class, interface或enum
	int n;
	^
0_0_29434151_31055\Main.java:44: 错误: 需要class, interface或enum
	int max;
	^
0_0_29434151_31055\Main.java:45: 错误: 需要class, interface或enum
	int temp0;
	^
0_0_29434151_31055\Main.java:46: 错误: 需要class, interface或enum
	while(scanf("%d",&n)!=-1)
	^
0_0_29434151_31055\Main.java:48: 错误: 需要class, interface或enum
		for(i1=0;i1<n;i1++)
		         ^
0_0_29434151_31055\Main.java:48: 错误: 需要class, interface或enum
		for(i1=0;i1<n;i1++)
		              ^
0_0_29434151_31055\Main.java:49: 错误: 需要class, interface或enum
		for(l=0;l<n;l++)
		        ^
0_0_29434151_31055\Main.java:49: 错误: 需要class, interface或enum
		for(l=0;l<n;l++)
		            ^
0_0_29434151_31055\Main.java:53: 错误: 需要class, interface或enum
	max=0;
	^
0_0_29434151_31055\Main.java:54: 错误: 需要class, interface或enum
		for(i2=0;i2<n;i2++)
		^
0_0_29434151_31055\Main.java:54: 错误: 需要class, interface或enum
		for(i2=0;i2<n;i2++)
		         ^
0_0_29434151_31055\Main.java:54: 错误: 需要class, interface或enum
		for(i2=0;i2<n;i2++)
		              ^
0_0_29434151_31055\Main.java:56: 错误: 需要class, interface或enum
			for(i1=0;i1<=i2;i1++)
			         ^
0_0_29434151_31055\Main.java:56: 错误: 需要class, interface或enum
			for(i1=0;i1<=i2;i1++)
			                ^
0_0_29434151_31055\Main.java:59: 错误: 需要class, interface或enum
				for(l=0;l<n;l++)
				        ^
0_0_29434151_31055\Main.java:59: 错误: 需要class, interface或enum
				for(l=0;l<n;l++)
				            ^
0_0_29434151_31055\Main.java:62: 错误: 需要class, interface或enum
					for(i_temp=i1;i_temp<=i2;i_temp++)	temp0+=num[i_temp][l];
					^
0_0_29434151_31055\Main.java:62: 错误: 需要class, interface或enum
					for(i_temp=i1;i_temp<=i2;i_temp++)	temp0+=num[i_temp][l];
					              ^
0_0_29434151_31055\Main.java:62: 错误: 需要class, interface或enum
					for(i_temp=i1;i_temp<=i2;i_temp++)	temp0+=num[i_temp][l];
					                         ^
0_0_29434151_31055\Main.java:63: 错误: 需要class, interface或enum
					temp[l]=temp0;
					^
0_0_29434151_31055\Main.java:64: 错误: 需要class, interface或enum
				}
				^
0_0_29434151_31055\Main.java:69: 错误: 需要class, interface或enum
				for(l=1;l<n;l++)
				^
0_0_29434151_31055\Main.java:69: 错误: 需要class, interface或enum
				for(l=1;l<n;l++)
				        ^
0_0_29434151_31055\Main.java:69: 错误: 需要class, interface或enum
				for(l=1;l<n;l++)
				            ^
0_0_29434151_31055\Main.java:72: 错误: 需要class, interface或enum
					if(temp[l]>max)	max=temp[l];
					^
0_0_29434151_31055\Main.java:73: 错误: 需要class, interface或enum
				}
				^
0_0_29434151_31055\Main.java:79: 错误: 需要class, interface或enum
	}
	^
0_0_29434151_31055\Main.java:81: 错误: 需要class, interface或enum
}
^
0_0_29434151_31055\Main.java:83: 错误: 非法字符: '#'
#include<iostream>
^
0_0_29434151_31055\Main.java:85: 错误: 需要class, interface或enum
int a[101][101];
^
0_0_29434151_31055\Main.java:87: 错误: 需要class, interface或enum
int main()
^
0_0_29434151_31055\Main.java:90: 错误: 需要class, interface或enum
	int i,j,k;
	^
0_0_29434151_31055\Main.java:91: 错误: 需要class, interface或enum
	int temp;
	^
0_0_29434151_31055\Main.java:92: 错误: 需要class, interface或enum
	while(cin>>n)
	^
0_0_29434151_31055\Main.java:95: 错误: 需要class, interface或enum
		for(i=1;i<=n;i++)
		^
0_0_29434151_31055\Main.java:95: 错误: 需要class, interface或enum
		for(i=1;i<=n;i++)
		        ^
0_0_29434151_31055\Main.java:95: 错误: 需要class, interface或enum
		for(i=1;i<=n;i++)
		             ^
0_0_29434151_31055\Main.java:96: 错误: 需要class, interface或enum
			for(j=1;j<=n;j++)
			        ^
0_0_29434151_31055\Main.java:96: 错误: 需要class, interface或enum
			for(j=1;j<=n;j++)
			             ^
0_0_29434151_31055\Main.java:99: 错误: 需要class, interface或enum
				a[i][j]+=a[i][j-1]+temp;           //表示第i行前j个元素之和
				^
0_0_29434151_31055\Main.java:100: 错误: 需要class, interface或enum
			}
			^
0_0_29434151_31055\Main.java:103: 错误: 需要class, interface或enum
			for(i=1;i<=n;i++)
			^
0_0_29434151_31055\Main.java:103: 错误: 需要class, interface或enum
			for(i=1;i<=n;i++)
			        ^
0_0_29434151_31055\Main.java:103: 错误: 需要class, interface或enum
			for(i=1;i<=n;i++)
			             ^
0_0_29434151_31055\Main.java:105: 错误: 需要class, interface或enum
				for(j=i;j<=n;j++)
				        ^
0_0_29434151_31055\Main.java:105: 错误: 需要class, interface或enum
				for(j=i;j<=n;j++)
				             ^
0_0_29434151_31055\Main.java:108: 错误: 需要class, interface或enum
					for(k=1;k<=n;k++)
					^
0_0_29434151_31055\Main.java:108: 错误: 需要class, interface或enum
					for(k=1;k<=n;k++)
					        ^
0_0_29434151_31055\Main.java:108: 错误: 需要class, interface或enum
					for(k=1;k<=n;k++)
					             ^
0_0_29434151_31055\Main.java:113: 错误: 需要class, interface或enum
			        	sum+=a[k][j]-a[k][i-1];   //计算第k行第j和第i列之间的的数
			        	^
0_0_29434151_31055\Main.java:115: 错误: 需要class, interface或enum
						if(sum>max)
						^
0_0_29434151_31055\Main.java:117: 错误: 需要class, interface或enum
					}
					^
0_0_29434151_31055\Main.java:124: 错误: 需要class, interface或enum
	}
	^
0_0_29434151_31055\Main.java:126: 错误: 需要class, interface或enum
}
^
59 个错误


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-25 02:55:13, Gzip enabled