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_29469168_15380\Main.java:1: 错误: 非法字符: '#'
#include<iostream>
^
0_0_29469168_15380\Main.java:1: 错误: 需要class, interface或enum
#include<iostream>
        ^
0_0_29469168_15380\Main.java:2: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_29469168_15380\Main.java:3: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_29469168_15380\Main.java:4: 错误: 非法字符: '#'
#include<cstring>
^
0_0_29469168_15380\Main.java:5: 错误: 非法字符: '#'
#include<string>
^
0_0_29469168_15380\Main.java:6: 错误: 非法字符: '#'
#include<queue>
^
0_0_29469168_15380\Main.java:7: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_29469168_15380\Main.java:8: 错误: 非法字符: '#'
#include<map>
^
0_0_29469168_15380\Main.java:9: 错误: 非法字符: '#'
#include<iomanip>
^
0_0_29469168_15380\Main.java:10: 错误: 非法字符: '#'
#define INF 99999999
^
0_0_29469168_15380\Main.java:13: 错误: 需要class, interface或enum
const int MAX=20000+10;
^
0_0_29469168_15380\Main.java:14: 错误: 需要class, interface或enum
const int Base=10000;
^
0_0_29469168_15380\Main.java:15: 错误: 需要class, interface或enum
int s[MAX],n;//s[j]记录的前i个数mod n为j的最后一个位置 
^
0_0_29469168_15380\Main.java:16: 错误: 需要class, interface或enum
char str[110];
^
0_0_29469168_15380\Main.java:17: 错误: 需要class, interface或enum
int temp[3000],sum[3000],A[3000];
^
0_0_29469168_15380\Main.java:18: 错误: 需要class, interface或enum
bool prime[110];
^
0_0_29469168_15380\Main.java:20: 错误: 需要class, interface或enum
void Prime(){
^
0_0_29469168_15380\Main.java:22: 错误: 需要class, interface或enum
	for(int i=2;i*2<=100;++i)prime[i*2]=true;
	^
0_0_29469168_15380\Main.java:22: 错误: 需要class, interface或enum
	for(int i=2;i*2<=100;++i)prime[i*2]=true;
	            ^
0_0_29469168_15380\Main.java:22: 错误: 需要class, interface或enum
	for(int i=2;i*2<=100;++i)prime[i*2]=true;
	                     ^
0_0_29469168_15380\Main.java:23: 错误: 需要class, interface或enum
	for(int i=3;i*i<=100;++i){
	^
0_0_29469168_15380\Main.java:23: 错误: 需要class, interface或enum
	for(int i=3;i*i<=100;++i){
	            ^
0_0_29469168_15380\Main.java:23: 错误: 需要class, interface或enum
	for(int i=3;i*i<=100;++i){
	                     ^
0_0_29469168_15380\Main.java:25: 错误: 需要class, interface或enum
			for(int j=i*i;j<=100;j+=2*i)prime[j]=true;
			              ^
0_0_29469168_15380\Main.java:25: 错误: 需要class, interface或enum
			for(int j=i*i;j<=100;j+=2*i)prime[j]=true;
			                     ^
0_0_29469168_15380\Main.java:26: 错误: 需要class, interface或enum
		}
		^
0_0_29469168_15380\Main.java:32: 错误: 需要class, interface或enum
	while(x%2 == 0)++num,x=x/2;
	^
0_0_29469168_15380\Main.java:33: 错误: 需要class, interface或enum
	if(num>=k)return 2;
	^
0_0_29469168_15380\Main.java:34: 错误: 需要class, interface或enum
	for(int i=3;i*i<=x;i+=2){
	^
0_0_29469168_15380\Main.java:34: 错误: 需要class, interface或enum
	for(int i=3;i*i<=x;i+=2){
	            ^
0_0_29469168_15380\Main.java:34: 错误: 需要class, interface或enum
	for(int i=3;i*i<=x;i+=2){
	                   ^
0_0_29469168_15380\Main.java:37: 错误: 需要class, interface或enum
			if(num>=k)return i;
			^
0_0_29469168_15380\Main.java:38: 错误: 需要class, interface或enum
		}
		^
0_0_29469168_15380\Main.java:41: 错误: 需要class, interface或enum
	if(num>=k)return x;
	^
0_0_29469168_15380\Main.java:42: 错误: 需要class, interface或enum
	return 0;
	^
0_0_29469168_15380\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_29469168_15380\Main.java:47: 错误: 需要class, interface或enum
	memset(temp,0,sizeof(int)*(l+3));
	^
0_0_29469168_15380\Main.java:48: 错误: 需要class, interface或enum
	for(i=1,k=1;i<=A[0];++i){
	^
0_0_29469168_15380\Main.java:48: 错误: 需要class, interface或enum
	for(i=1,k=1;i<=A[0];++i){
	            ^
0_0_29469168_15380\Main.java:48: 错误: 需要class, interface或enum
	for(i=1,k=1;i<=A[0];++i){
	                    ^
0_0_29469168_15380\Main.java:50: 错误: 需要class, interface或enum
		if(A[i]){//为0本次就不用计算了 
		^
0_0_29469168_15380\Main.java:51: 错误: 需要class, interface或enum
			for(j=1;j<=B[0];++j,++k){
			        ^
0_0_29469168_15380\Main.java:51: 错误: 需要class, interface或enum
			for(j=1;j<=B[0];++j,++k){
			                ^
0_0_29469168_15380\Main.java:53: 错误: 需要class, interface或enum
				if(temp[k]>=Base){
				^
0_0_29469168_15380\Main.java:55: 错误: 需要class, interface或enum
					temp[k]=temp[k]%Base;
					^
0_0_29469168_15380\Main.java:56: 错误: 需要class, interface或enum
				}
				^
0_0_29469168_15380\Main.java:62: 错误: 需要class, interface或enum
		temp[k]=temp[k++]%Base;
		^
0_0_29469168_15380\Main.java:63: 错误: 需要class, interface或enum
	}
	^
0_0_29469168_15380\Main.java:65: 错误: 需要class, interface或enum
	A[0]=k;
	^
0_0_29469168_15380\Main.java:66: 错误: 需要class, interface或enum
	for(i=1;i<=k;++i)A[i]=temp[i];
	^
0_0_29469168_15380\Main.java:66: 错误: 需要class, interface或enum
	for(i=1;i<=k;++i)A[i]=temp[i];
	        ^
0_0_29469168_15380\Main.java:66: 错误: 需要class, interface或enum
	for(i=1;i<=k;++i)A[i]=temp[i];
	             ^
0_0_29469168_15380\Main.java:67: 错误: 需要class, interface或enum
}
^
0_0_29469168_15380\Main.java:71: 错误: 需要class, interface或enum
	A[0]=1,A[1]=2;
	^
0_0_29469168_15380\Main.java:72: 错误: 需要class, interface或enum
	while(k){
	^
0_0_29469168_15380\Main.java:74: 错误: 需要class, interface或enum
		Mult(A,A);
		^
0_0_29469168_15380\Main.java:75: 错误: 需要class, interface或enum
		k>>=1;
		^
0_0_29469168_15380\Main.java:76: 错误: 需要class, interface或enum
	}
	^
0_0_29469168_15380\Main.java:81: 错误: 需要class, interface或enum
	int num=strlen(str);
	^
0_0_29469168_15380\Main.java:82: 错误: 需要class, interface或enum
	if(!prime[num])printf("Yes.\n");
	^
0_0_29469168_15380\Main.java:83: 错误: 需要class, interface或enum
	else printf("No.\n");
	^
0_0_29469168_15380\Main.java:84: 错误: 需要class, interface或enum
}
^
0_0_29469168_15380\Main.java:88: 错误: 需要class, interface或enum
	scanf("%d",&n);
	^
0_0_29469168_15380\Main.java:89: 错误: 需要class, interface或enum
	memset(s+1,-1,sizeof(int)*(n+1));
	^
0_0_29469168_15380\Main.java:90: 错误: 需要class, interface或enum
	s[0]=0;
	^
0_0_29469168_15380\Main.java:91: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i){
	^
0_0_29469168_15380\Main.java:91: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i){
	            ^
0_0_29469168_15380\Main.java:91: 错误: 需要class, interface或enum
	for(int i=1;i<=n;++i){
	                 ^
0_0_29469168_15380\Main.java:93: 错误: 需要class, interface或enum
		p=(t+a)%n;
		^
0_0_29469168_15380\Main.java:94: 错误: 需要class, interface或enum
		if(s[p] != -1)if(i-s[p]<l)l=i-s[p],k=s[p]+1;//k记录满足条件的开始位置 
		^
0_0_29469168_15380\Main.java:95: 错误: 需要class, interface或enum
		s[p]=i;
		^
0_0_29469168_15380\Main.java:96: 错误: 需要class, interface或enum
		t=p;
		^
0_0_29469168_15380\Main.java:97: 错误: 需要class, interface或enum
	}
	^
0_0_29469168_15380\Main.java:99: 错误: 需要class, interface或enum
	else{
	^
0_0_29469168_15380\Main.java:100: 错误: 需要class, interface或enum
		for(int i=k;i<k+l-1;++i)printf("%d ",i);
		            ^
0_0_29469168_15380\Main.java:100: 错误: 需要class, interface或enum
		for(int i=k;i<k+l-1;++i)printf("%d ",i);
		                    ^
0_0_29469168_15380\Main.java:101: 错误: 需要class, interface或enum
		printf("%d\n",k+l-1);
		^
0_0_29469168_15380\Main.java:102: 错误: 需要class, interface或enum
	}
	^
0_0_29469168_15380\Main.java:107: 错误: 需要class, interface或enum
	scanf("%d%d",&x,&k);
	^
0_0_29469168_15380\Main.java:108: 错误: 需要class, interface或enum
	int temp=factor(x,k);
	^
0_0_29469168_15380\Main.java:109: 错误: 需要class, interface或enum
	if(temp)printf("%d\n",temp);
	^
0_0_29469168_15380\Main.java:110: 错误: 需要class, interface或enum
	else printf("no\n");
	^
0_0_29469168_15380\Main.java:111: 错误: 需要class, interface或enum
}
^
0_0_29469168_15380\Main.java:115: 错误: 需要class, interface或enum
	FastPow(n);
	^
0_0_29469168_15380\Main.java:116: 错误: 需要class, interface或enum
	printf("%d",sum[sum[0]]);
	^
0_0_29469168_15380\Main.java:117: 错误: 需要class, interface或enum
	for(int i=sum[0]-1;i>0;--i)printf("%04d",sum[i]);
	^
0_0_29469168_15380\Main.java:117: 错误: 需要class, interface或enum
	for(int i=sum[0]-1;i>0;--i)printf("%04d",sum[i]);
	                   ^
0_0_29469168_15380\Main.java:117: 错误: 需要class, interface或enum
	for(int i=sum[0]-1;i>0;--i)printf("%04d",sum[i]);
	                       ^
0_0_29469168_15380\Main.java:118: 错误: 需要class, interface或enum
	printf("\n");
	^
0_0_29469168_15380\Main.java:119: 错误: 需要class, interface或enum
}
^
0_0_29469168_15380\Main.java:123: 错误: 需要class, interface或enum
	while(~scanf("%s",str)){
	^
0_0_29469168_15380\Main.java:125: 错误: 需要class, interface或enum
		else if(strcmp(str,"Stones") == 0)problem2();
		^
0_0_29469168_15380\Main.java:126: 错误: 需要class, interface或enum
		else if(strcmp(str,"Search") == 0)problem3();
		^
0_0_29469168_15380\Main.java:127: 错误: 需要class, interface或enum
		else problem4();
		^
0_0_29469168_15380\Main.java:128: 错误: 需要class, interface或enum
	}
	^
0_0_29469168_15380\Main.java:130: 错误: 需要class, interface或enum
}
^
97 个错误


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-29 13:42:48, Gzip enabled