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_29375730_19524\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_29375730_19524\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_29375730_19524\Main.java:2: 错误: 非法字符: '#'
#include <string>
^
0_0_29375730_19524\Main.java:3: 错误: 非法字符: '#'
#include <cmath>
^
0_0_29375730_19524\Main.java:4: 错误: 非法字符: '#'
#include <map>
^
0_0_29375730_19524\Main.java:6: 错误: 需要class, interface或enum
const int N=210000;
^
0_0_29375730_19524\Main.java:7: 错误: 需要class, interface或enum
int wa[N],wb[N],wv[N],wsum[N];
^
0_0_29375730_19524\Main.java:8: 错误: 需要class, interface或enum
int height[N],sa[N],rank[N];
^
0_0_29375730_19524\Main.java:9: 错误: 需要class, interface或enum
int n;
^
0_0_29375730_19524\Main.java:10: 错误: 需要class, interface或enum
char str[N];
^
0_0_29375730_19524\Main.java:11: 错误: 需要class, interface或enum
int f[N][23];
^
0_0_29375730_19524\Main.java:12: 错误: 需要class, interface或enum
bool vis[N];
^
0_0_29375730_19524\Main.java:13: 错误: 需要class, interface或enum
int r[N];
^
0_0_29375730_19524\Main.java:14: 错误: 需要class, interface或enum
int ans;
^
0_0_29375730_19524\Main.java:15: 错误: 需要class, interface或enum
int cmp(int *r,int a,int b,int l)
^
0_0_29375730_19524\Main.java:18: 错误: 需要class, interface或enum
}
^
0_0_29375730_19524\Main.java:22: 错误: 需要class, interface或enum
	for(i=0;i<m;i++)
	^
0_0_29375730_19524\Main.java:22: 错误: 需要class, interface或enum
	for(i=0;i<m;i++)
	        ^
0_0_29375730_19524\Main.java:22: 错误: 需要class, interface或enum
	for(i=0;i<m;i++)
	            ^
0_0_29375730_19524\Main.java:24: 错误: 需要class, interface或enum
	for(i=0;i<n;i++)
	^
0_0_29375730_19524\Main.java:24: 错误: 需要class, interface或enum
	for(i=0;i<n;i++)
	        ^
0_0_29375730_19524\Main.java:24: 错误: 需要class, interface或enum
	for(i=0;i<n;i++)
	            ^
0_0_29375730_19524\Main.java:26: 错误: 需要class, interface或enum
	for(i=1;i<m;i++)
	^
0_0_29375730_19524\Main.java:26: 错误: 需要class, interface或enum
	for(i=1;i<m;i++)
	        ^
0_0_29375730_19524\Main.java:26: 错误: 需要class, interface或enum
	for(i=1;i<m;i++)
	            ^
0_0_29375730_19524\Main.java:28: 错误: 需要class, interface或enum
	for(i=n-1;i>=0;i--)
	^
0_0_29375730_19524\Main.java:28: 错误: 需要class, interface或enum
	for(i=n-1;i>=0;i--)
	          ^
0_0_29375730_19524\Main.java:28: 错误: 需要class, interface或enum
	for(i=n-1;i>=0;i--)
	               ^
0_0_29375730_19524\Main.java:30: 错误: 需要class, interface或enum
	for(j=1,p=1;p<n;j*=2,m=p)
	^
0_0_29375730_19524\Main.java:30: 错误: 需要class, interface或enum
	for(j=1,p=1;p<n;j*=2,m=p)
	            ^
0_0_29375730_19524\Main.java:30: 错误: 需要class, interface或enum
	for(j=1,p=1;p<n;j*=2,m=p)
	                ^
0_0_29375730_19524\Main.java:32: 错误: 需要class, interface或enum
		for(p=0,i=n-j;i<n;i++)
		              ^
0_0_29375730_19524\Main.java:32: 错误: 需要class, interface或enum
		for(p=0,i=n-j;i<n;i++)
		                  ^
0_0_29375730_19524\Main.java:34: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		^
0_0_29375730_19524\Main.java:34: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		        ^
0_0_29375730_19524\Main.java:34: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		            ^
0_0_29375730_19524\Main.java:37: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		^
0_0_29375730_19524\Main.java:37: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		        ^
0_0_29375730_19524\Main.java:37: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		            ^
0_0_29375730_19524\Main.java:39: 错误: 需要class, interface或enum
		for(i=0;i<m;i++)
		^
0_0_29375730_19524\Main.java:39: 错误: 需要class, interface或enum
		for(i=0;i<m;i++)
		        ^
0_0_29375730_19524\Main.java:39: 错误: 需要class, interface或enum
		for(i=0;i<m;i++)
		            ^
0_0_29375730_19524\Main.java:41: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		^
0_0_29375730_19524\Main.java:41: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		        ^
0_0_29375730_19524\Main.java:41: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)
		            ^
0_0_29375730_19524\Main.java:43: 错误: 需要class, interface或enum
		for(i=1;i<m;i++)
		^
0_0_29375730_19524\Main.java:43: 错误: 需要class, interface或enum
		for(i=1;i<m;i++)
		        ^
0_0_29375730_19524\Main.java:43: 错误: 需要class, interface或enum
		for(i=1;i<m;i++)
		            ^
0_0_29375730_19524\Main.java:45: 错误: 需要class, interface或enum
		for(i=n-1;i>=0;i--)
		^
0_0_29375730_19524\Main.java:45: 错误: 需要class, interface或enum
		for(i=n-1;i>=0;i--)
		          ^
0_0_29375730_19524\Main.java:45: 错误: 需要class, interface或enum
		for(i=n-1;i>=0;i--)
		               ^
0_0_29375730_19524\Main.java:47: 错误: 需要class, interface或enum
		for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1;i<n;i++)
		^
0_0_29375730_19524\Main.java:47: 错误: 需要class, interface或enum
		for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1;i<n;i++)
		                                   ^
0_0_29375730_19524\Main.java:47: 错误: 需要class, interface或enum
		for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1;i<n;i++)
		                                       ^
0_0_29375730_19524\Main.java:49: 错误: 需要class, interface或enum
	}
	^
0_0_29375730_19524\Main.java:54: 错误: 需要class, interface或enum
	for(i=0;i<=n;i++)
	^
0_0_29375730_19524\Main.java:54: 错误: 需要class, interface或enum
	for(i=0;i<=n;i++)
	        ^
0_0_29375730_19524\Main.java:54: 错误: 需要class, interface或enum
	for(i=0;i<=n;i++)
	             ^
0_0_29375730_19524\Main.java:56: 错误: 需要class, interface或enum
	for(i=0;i<n;height[rank[i++]]=k)
	^
0_0_29375730_19524\Main.java:56: 错误: 需要class, interface或enum
	for(i=0;i<n;height[rank[i++]]=k)
	        ^
0_0_29375730_19524\Main.java:56: 错误: 需要class, interface或enum
	for(i=0;i<n;height[rank[i++]]=k)
	            ^
0_0_29375730_19524\Main.java:57: 错误: 需要class, interface或enum
		for(k?k--:0,j=sa[rank[i]-1];r[i+k]==r[j+k];k++);
		                            ^
0_0_29375730_19524\Main.java:57: 错误: 需要class, interface或enum
		for(k?k--:0,j=sa[rank[i]-1];r[i+k]==r[j+k];k++);
		                                           ^
0_0_29375730_19524\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_29375730_19524\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_29375730_19524\Main.java:66: 错误: 需要class, interface或enum
	m=floor(log(1.0*n)/log(2.0));
	^
0_0_29375730_19524\Main.java:67: 错误: 需要class, interface或enum
	for(i=1;i<=n;i++)
	^
0_0_29375730_19524\Main.java:67: 错误: 需要class, interface或enum
	for(i=1;i<=n;i++)
	        ^
0_0_29375730_19524\Main.java:67: 错误: 需要class, interface或enum
	for(i=1;i<=n;i++)
	             ^
0_0_29375730_19524\Main.java:69: 错误: 需要class, interface或enum
	for(i=1;i<=m;i++)
	^
0_0_29375730_19524\Main.java:69: 错误: 需要class, interface或enum
	for(i=1;i<=m;i++)
	        ^
0_0_29375730_19524\Main.java:69: 错误: 需要class, interface或enum
	for(i=1;i<=m;i++)
	             ^
0_0_29375730_19524\Main.java:70: 错误: 需要class, interface或enum
		for(j=n;j>=1;j--)
		        ^
0_0_29375730_19524\Main.java:70: 错误: 需要class, interface或enum
		for(j=n;j>=1;j--)
		             ^
0_0_29375730_19524\Main.java:73: 错误: 需要class, interface或enum
			k=1<<(i-1);
			^
0_0_29375730_19524\Main.java:74: 错误: 需要class, interface或enum
			if(j+k<=n)
			^
0_0_29375730_19524\Main.java:76: 错误: 需要class, interface或enum
		}
		^
0_0_29375730_19524\Main.java:81: 错误: 需要class, interface或enum
	x=rank[x];
	^
0_0_29375730_19524\Main.java:82: 错误: 需要class, interface或enum
	y=rank[y];
	^
0_0_29375730_19524\Main.java:83: 错误: 需要class, interface或enum
	if(x>y)  
	^
0_0_29375730_19524\Main.java:85: 错误: 需要class, interface或enum
    x++;  
    ^
0_0_29375730_19524\Main.java:86: 错误: 需要class, interface或enum
    m=floor(log(1.0*(y-x+1))/log(2.0));  
    ^
0_0_29375730_19524\Main.java:87: 错误: 需要class, interface或enum
    return mmin(f[x][m],f[y-(1<<m)+1][m]);  
    ^
0_0_29375730_19524\Main.java:88: 错误: 需要class, interface或enum
}
^
0_0_29375730_19524\Main.java:94: 错误: 需要class, interface或enum
	scanf("%d",&T);
	^
0_0_29375730_19524\Main.java:95: 错误: 需要class, interface或enum
	while(T--)
	^
0_0_29375730_19524\Main.java:98: 错误: 需要class, interface或enum
		k=strlen(str);
		^
0_0_29375730_19524\Main.java:99: 错误: 需要class, interface或enum
		str[k]='9';
		^
0_0_29375730_19524\Main.java:100: 错误: 需要class, interface或enum
		for(i=0;i<k;i++)
		^
0_0_29375730_19524\Main.java:100: 错误: 需要class, interface或enum
		for(i=0;i<k;i++)
		        ^
0_0_29375730_19524\Main.java:100: 错误: 需要class, interface或enum
		for(i=0;i<k;i++)
		            ^
0_0_29375730_19524\Main.java:102: 错误: 需要class, interface或enum
		str[2*k+1]='0';
		^
0_0_29375730_19524\Main.java:103: 错误: 需要class, interface或enum
		n=2*k+2;
		^
0_0_29375730_19524\Main.java:104: 错误: 需要class, interface或enum
		str[n]='\0';
		^
0_0_29375730_19524\Main.java:105: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)  
		^
0_0_29375730_19524\Main.java:105: 错误: 需要class, interface或enum
		for(i=0;i<n;i++)  
		        ^
0_0_29375730_19524\Main.java:105: 错误: 需要class, interface或enum
		for(i=


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-26 21:40:16, Gzip enabled