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_14699624_15871\Main.java:1: 错误: 非法字符: '#'
#include <iostream>  
^
0_0_14699624_15871\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>  
         ^
0_0_14699624_15871\Main.java:2: 错误: 非法字符: '#'
#include <string.h>  
^
0_0_14699624_15871\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>  
^
0_0_14699624_15871\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>  
^
0_0_14699624_15871\Main.java:5: 错误: 非法字符: '#'
#define maxn 100010  
^
0_0_14699624_15871\Main.java:6: 错误: 非法字符: '#'
#define mid ((l+r)>>1)  
^
0_0_14699624_15871\Main.java:8: 错误: 需要class, interface或enum
int t[20][maxn],sum[20][maxn]; 
^
0_0_14699624_15871\Main.java:9: 错误: 需要class, interface或enum
int as[maxn]; 
^
0_0_14699624_15871\Main.java:10: 错误: 需要class, interface或enum
void build(int p,int l,int r) 
^
0_0_14699624_15871\Main.java:13: 错误: 需要class, interface或enum
    for(i=mid;i>=l;i--) 
    ^
0_0_14699624_15871\Main.java:13: 错误: 需要class, interface或enum
    for(i=mid;i>=l;i--) 
              ^
0_0_14699624_15871\Main.java:13: 错误: 需要class, interface或enum
    for(i=mid;i>=l;i--) 
                   ^
0_0_14699624_15871\Main.java:17: 错误: 需要class, interface或enum
        else 
        ^
0_0_14699624_15871\Main.java:19: 错误: 需要class, interface或enum
    } 
    ^
0_0_14699624_15871\Main.java:20: 错误: 需要class, interface或enum
    for(i=l;i<=r;i++) 
            ^
0_0_14699624_15871\Main.java:20: 错误: 需要class, interface或enum
    for(i=l;i<=r;i++) 
                 ^
0_0_14699624_15871\Main.java:24: 错误: 需要class, interface或enum
        else 
        ^
0_0_14699624_15871\Main.java:26: 错误: 需要class, interface或enum
        if(t[p][i]==as[mid]) 
        ^
0_0_14699624_15871\Main.java:31: 错误: 需要class, interface或enum
                sum[p][i]++; 
                ^
0_0_14699624_15871\Main.java:32: 错误: 需要class, interface或enum
                t[p+1][ls++]=t[p][i]; 
                ^
0_0_14699624_15871\Main.java:33: 错误: 需要class, interface或enum
            } 
            ^
0_0_14699624_15871\Main.java:36: 错误: 需要class, interface或enum
        } 
        ^
0_0_14699624_15871\Main.java:40: 错误: 需要class, interface或enum
            t[p+1][ls++]=t[p][i]; 
            ^
0_0_14699624_15871\Main.java:41: 错误: 需要class, interface或enum
        } 
        ^
0_0_14699624_15871\Main.java:44: 错误: 需要class, interface或enum
    } 
    ^
0_0_14699624_15871\Main.java:47: 错误: 需要class, interface或enum
    build(p+1,l,mid); 
    ^
0_0_14699624_15871\Main.java:48: 错误: 需要class, interface或enum
    build(p+1,mid+1,r); 
    ^
0_0_14699624_15871\Main.java:49: 错误: 需要class, interface或enum
} 
^
0_0_14699624_15871\Main.java:53: 错误: 需要class, interface或enum
    if(l==r) 
    ^
0_0_14699624_15871\Main.java:55: 错误: 需要class, interface或enum
    if(ql==l) 
    ^
0_0_14699624_15871\Main.java:57: 错误: 需要class, interface或enum
    else 
    ^
0_0_14699624_15871\Main.java:59: 错误: 需要class, interface或enum
    if(k<=ss) 
    ^
0_0_14699624_15871\Main.java:61: 错误: 需要class, interface或enum
    else 
    ^
0_0_14699624_15871\Main.java:63: 错误: 需要class, interface或enum
} 
^
0_0_14699624_15871\Main.java:68: 错误: 需要class, interface或enum
	while(scanf("%d%d",&n,&m)!=EOF)
	^
0_0_14699624_15871\Main.java:70: 错误: 需要class, interface或enum
		for(i=1;i<=n;i++) 
		        ^
0_0_14699624_15871\Main.java:70: 错误: 需要class, interface或enum
		for(i=1;i<=n;i++) 
		             ^
0_0_14699624_15871\Main.java:73: 错误: 需要class, interface或enum
			t[0][i]=as[i]; 
			^
0_0_14699624_15871\Main.java:74: 错误: 需要class, interface或enum
		} 
		^
0_0_14699624_15871\Main.java:76: 错误: 需要class, interface或enum
		build(0,1,n); 
		^
0_0_14699624_15871\Main.java:77: 错误: 需要class, interface或enum
		while(m--) 
		^
0_0_14699624_15871\Main.java:80: 错误: 需要class, interface或enum
			scanf("%d%d%d",&l,&r,&k); 
			^
0_0_14699624_15871\Main.java:81: 错误: 需要class, interface或enum
			int ans=query(0,1,n,l,r,k); 
			^
0_0_14699624_15871\Main.java:82: 错误: 需要class, interface或enum
			printf("%d\n",ans); 
			^
0_0_14699624_15871\Main.java:83: 错误: 需要class, interface或enum
		} 
		^
0_0_14699624_15871\Main.java:86: 错误: 需要class, interface或enum
} 
^
47 个错误


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-30 02:39:42, Gzip enabled