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_24948146_18510\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_24948146_18510\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
        ^
0_0_24948146_18510\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_24948146_18510\Main.java:5: 错误: 需要class, interface或enum
int N,top=0, pri[11100]={0};
^
0_0_24948146_18510\Main.java:6: 错误: 需要class, interface或enum
int a[101010];
^
0_0_24948146_18510\Main.java:7: 错误: 需要class, interface或enum
bool vis[101010];
^
0_0_24948146_18510\Main.java:8: 错误: 需要class, interface或enum
void prime(){
^
0_0_24948146_18510\Main.java:10: 错误: 需要class, interface或enum
	memset(vis,true,sizeof(vis));//全假设为质数
	^
0_0_24948146_18510\Main.java:11: 错误: 需要class, interface或enum
	for(int i=2;i<=101000;i++)
	^
0_0_24948146_18510\Main.java:11: 错误: 需要class, interface或enum
	for(int i=2;i<=101000;i++)
	            ^
0_0_24948146_18510\Main.java:11: 错误: 需要class, interface或enum
	for(int i=2;i<=101000;i++)
	                      ^
0_0_24948146_18510\Main.java:15: 错误: 需要class, interface或enum
			for(int j=i+i;j<=101000;j+=i)
			              ^
0_0_24948146_18510\Main.java:15: 错误: 需要class, interface或enum
			for(int j=i+i;j<=101000;j+=i)
			                        ^
0_0_24948146_18510\Main.java:17: 错误: 需要class, interface或enum
			pri[top++]=i;
			^
0_0_24948146_18510\Main.java:19: 错误: 需要class, interface或enum
		}
		^
0_0_24948146_18510\Main.java:26: 错误: 需要class, interface或enum
int fac(int n,int l,int r){
^
0_0_24948146_18510\Main.java:28: 错误: 需要class, interface或enum
    tot=0;now=n;
    ^
0_0_24948146_18510\Main.java:28: 错误: 需要class, interface或enum
    tot=0;now=n;
          ^
0_0_24948146_18510\Main.java:29: 错误: 需要class, interface或enum
    for(int i=0;i<top&&pri[i]<=now;++i)if(now%pri[i]==0){
    ^
0_0_24948146_18510\Main.java:29: 错误: 需要class, interface或enum
    for(int i=0;i<top&&pri[i]<=now;++i)if(now%pri[i]==0){
                ^
0_0_24948146_18510\Main.java:29: 错误: 需要class, interface或enum
    for(int i=0;i<top&&pri[i]<=now;++i)if(now%pri[i]==0){
                                   ^
0_0_24948146_18510\Main.java:32: 错误: 需要class, interface或enum
        while(now%pri[i]==0){
        ^
0_0_24948146_18510\Main.java:34: 错误: 需要class, interface或enum
            now/=pri[i];
            ^
0_0_24948146_18510\Main.java:35: 错误: 需要class, interface或enum
        }
        ^
0_0_24948146_18510\Main.java:38: 错误: 需要class, interface或enum
        int count=R;
        ^
0_0_24948146_18510\Main.java:40: 错误: 需要class, interface或enum
        if(count<tot){
        ^
0_0_24948146_18510\Main.java:42: 错误: 需要class, interface或enum
        }
        ^
0_0_24948146_18510\Main.java:47: 错误: 需要class, interface或enum
        int R=lower_bound(v[y].begin(),v[y].end(),r+1)-lower_bound(v[y].begin(),v[y].end(),l);
        ^
0_0_24948146_18510\Main.java:48: 错误: 需要class, interface或enum
        int count=R;
        ^
0_0_24948146_18510\Main.java:50: 错误: 需要class, interface或enum
        if(count<1){
        ^
0_0_24948146_18510\Main.java:52: 错误: 需要class, interface或enum
        }
        ^
0_0_24948146_18510\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_24948146_18510\Main.java:60: 错误: 需要class, interface或enum
    int t,m,l,r,d,now;
    ^
0_0_24948146_18510\Main.java:61: 错误: 需要class, interface或enum
    cin>>t;
    ^
0_0_24948146_18510\Main.java:62: 错误: 需要class, interface或enum
    while(t--)
    ^
0_0_24948146_18510\Main.java:65: 错误: 需要class, interface或enum
        for(int x=1;x<=N;x++){
        ^
0_0_24948146_18510\Main.java:65: 错误: 需要class, interface或enum
        for(int x=1;x<=N;x++){
                    ^
0_0_24948146_18510\Main.java:65: 错误: 需要class, interface或enum
        for(int x=1;x<=N;x++){
                         ^
0_0_24948146_18510\Main.java:67: 错误: 需要class, interface或enum
            now=a[x];
            ^
0_0_24948146_18510\Main.java:68: 错误: 需要class, interface或enum
            for(int i=0;i<top&&pri[i]<=now;++i)if(now%pri[i]==0){
            ^
0_0_24948146_18510\Main.java:68: 错误: 需要class, interface或enum
            for(int i=0;i<top&&pri[i]<=now;++i)if(now%pri[i]==0){
                        ^
0_0_24948146_18510\Main.java:68: 错误: 需要class, interface或enum
            for(int i=0;i<top&&pri[i]<=now;++i)if(now%pri[i]==0){
                                           ^
0_0_24948146_18510\Main.java:71: 错误: 需要class, interface或enum
                    now/=pri[i];
                    ^
0_0_24948146_18510\Main.java:72: 错误: 需要class, interface或enum
                }
                ^
0_0_24948146_18510\Main.java:76: 错误: 需要class, interface或enum
                v[y].push_back(x);
                ^
0_0_24948146_18510\Main.java:77: 错误: 需要class, interface或enum
            }
            ^
0_0_24948146_18510\Main.java:79: 错误: 需要class, interface或enum
        for(int i=0;i<m;i++)
                    ^
0_0_24948146_18510\Main.java:79: 错误: 需要class, interface或enum
        for(int i=0;i<m;i++)
                        ^
0_0_24948146_18510\Main.java:82: 错误: 需要class, interface或enum
            if(fac(d,l,r))
            ^
0_0_24948146_18510\Main.java:85: 错误: 需要class, interface或enum
            }
            ^
0_0_24948146_18510\Main.java:87: 错误: 需要class, interface或enum
        }
        ^
0_0_24948146_18510\Main.java:90: 错误: 需要class, interface或enum
}
^
52 个错误


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-12-02 10:49:56, Gzip enabled