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_6815588_24464\Main.java:1: illegal character: \35
#include<stdio.h>
^
0_0_6815588_24464\Main.java:2: illegal character: \35
#include<math.h>
^
0_0_6815588_24464\Main.java:3: illegal character: \35
#include<map>
^
0_0_6815588_24464\Main.java:4: illegal character: \35
#include<algorithm>
^
0_0_6815588_24464\Main.java:8: class, interface, or enum expected
const int primN=31650;
^
0_0_6815588_24464\Main.java:9: class, interface, or enum expected
int binary[1<<10];
^
0_0_6815588_24464\Main.java:10: class, interface, or enum expected
int n;
^
0_0_6815588_24464\Main.java:11: class, interface, or enum expected
int p[primN],hash[primN],pnum=0;
^
0_0_6815588_24464\Main.java:12: class, interface, or enum expected
void mlist(){
^
0_0_6815588_24464\Main.java:14: class, interface, or enum expected
    for(int i=3;i<primN;i+=2)
    ^
0_0_6815588_24464\Main.java:14: class, interface, or enum expected
    for(int i=3;i<primN;i+=2)
                ^
0_0_6815588_24464\Main.java:14: class, interface, or enum expected
    for(int i=3;i<primN;i+=2)
                        ^
0_0_6815588_24464\Main.java:17: class, interface, or enum expected
        if(i<10000)for(int j=i*i;j<primN;j+=i+i)hash[j]=1;
        ^
0_0_6815588_24464\Main.java:17: class, interface, or enum expected
        if(i<10000)for(int j=i*i;j<primN;j+=i+i)hash[j]=1;
                                 ^
0_0_6815588_24464\Main.java:17: class, interface, or enum expected
        if(i<10000)for(int j=i*i;j<primN;j+=i+i)hash[j]=1;
                                         ^
0_0_6815588_24464\Main.java:18: class, interface, or enum expected
    }
    ^
0_0_6815588_24464\Main.java:21: class, interface, or enum expected
void pfact(__int64 n){
^
0_0_6815588_24464\Main.java:23: class, interface, or enum expected
            for(int i=0;i<pnum&&p[i]*p[i]<=n;++i)
            ^
0_0_6815588_24464\Main.java:23: class, interface, or enum expected
            for(int i=0;i<pnum&&p[i]*p[i]<=n;++i)
                        ^
0_0_6815588_24464\Main.java:23: class, interface, or enum expected
            for(int i=0;i<pnum&&p[i]*p[i]<=n;++i)
                                             ^
0_0_6815588_24464\Main.java:26: class, interface, or enum expected
                    while(n%p[i]==0)n/=p[i],++lim[pfnum];
                    ^
0_0_6815588_24464\Main.java:27: class, interface, or enum expected
                    pf[pfnum++]=p[i];
                    ^
0_0_6815588_24464\Main.java:28: class, interface, or enum expected
            }
            ^
0_0_6815588_24464\Main.java:30: class, interface, or enum expected
}
^
0_0_6815588_24464\Main.java:34: class, interface, or enum expected
    __int64 sum=0LL;
    ^
0_0_6815588_24464\Main.java:35: class, interface, or enum expected
    if(p>1LL)lim[pfnum++]=p;
    ^
0_0_6815588_24464\Main.java:36: class, interface, or enum expected
    __int64 i,j;
    ^
0_0_6815588_24464\Main.java:37: class, interface, or enum expected
    for(i=1; i<(1<<pfnum); i++){
    ^
0_0_6815588_24464\Main.java:37: class, interface, or enum expected
    for(i=1; i<(1<<pfnum); i++){
             ^
0_0_6815588_24464\Main.java:37: class, interface, or enum expected
    for(i=1; i<(1<<pfnum); i++){
                           ^
0_0_6815588_24464\Main.java:39: class, interface, or enum expected
        for(j=i; j; j^=(j&-j)){
        ^
0_0_6815588_24464\Main.java:39: class, interface, or enum expected
        for(j=i; j; j^=(j&-j)){
                 ^
0_0_6815588_24464\Main.java:39: class, interface, or enum expected
        for(j=i; j; j^=(j&-j)){
                    ^
0_0_6815588_24464\Main.java:41: class, interface, or enum expected
            tmp++;
            ^
0_0_6815588_24464\Main.java:42: class, interface, or enum expected
        }
        ^
0_0_6815588_24464\Main.java:45: class, interface, or enum expected
            sum+=(ret*(1LL+tmp)*tmp/2LL);
            ^
0_0_6815588_24464\Main.java:46: class, interface, or enum expected
        }
        ^
0_0_6815588_24464\Main.java:49: class, interface, or enum expected
            sum-=(ret*(1LL+tmp)*tmp/2LL);
            ^
0_0_6815588_24464\Main.java:50: class, interface, or enum expected
        }
        ^
0_0_6815588_24464\Main.java:53: class, interface, or enum expected
}
^
0_0_6815588_24464\Main.java:55: class, interface, or enum expected
		if(!a)return b; if(!b)return a;
		                ^
0_0_6815588_24464\Main.java:56: class, interface, or enum expected
		while(a>b?a%=b:b%=a); return a+b;
		^
0_0_6815588_24464\Main.java:56: class, interface, or enum expected
		while(a>b?a%=b:b%=a); return a+b;
		                      ^
0_0_6815588_24464\Main.java:57: class, interface, or enum expected
}
^
0_0_6815588_24464\Main.java:60: class, interface, or enum expected
    map<__int64,__int64>mapp;
    ^
0_0_6815588_24464\Main.java:61: class, interface, or enum expected
map<__int64,__int64>::iterator i;
^
0_0_6815588_24464\Main.java:62: class, interface, or enum expected
    for(j=0;j<10;j++)binary[1<<j]=j;
    ^
0_0_6815588_24464\Main.java:62: class, interface, or enum expected
    for(j=0;j<10;j++)binary[1<<j]=j;
            ^
0_0_6815588_24464\Main.java:62: class, interface, or enum expected
    for(j=0;j<10;j++)binary[1<<j]=j;
                 ^
0_0_6815588_24464\Main.java:63: class, interface, or enum expected
    mlist();
    ^
0_0_6815588_24464\Main.java:64: class, interface, or enum expected
    scanf("%d",&T);
    ^
0_0_6815588_24464\Main.java:65: class, interface, or enum expected
    while(T--){
    ^
0_0_6815588_24464\Main.java:67: class, interface, or enum expected
        scanf("%d%d",&n,&m);
        ^
0_0_6815588_24464\Main.java:68: class, interface, or enum expected
        while(m--){
        ^
0_0_6815588_24464\Main.java:70: class, interface, or enum expected
            scanf("%d",&op);
            ^
0_0_6815588_24464\Main.java:71: class, interface, or enum expected
            if(op==1){
            ^
0_0_6815588_24464\Main.java:73: class, interface, or enum expected
                scanf("%I64d%I64d%I64d",&x,&y,&p);
                ^
0_0_6815588_24464\Main.java:74: class, interface, or enum expected
                __int64 ans=0LL;
                ^
0_0_6815588_24464\Main.java:75: class, interface, or enum expected
                ans+=cal(y,p)-cal(x-1,p);
                ^
0_0_6815588_24464\Main.java:76: class, interface, or enum expected
                for(i=mapp.begin(); i!=mapp.end(); i++){
                ^
0_0_6815588_24464\Main.java:76: class, interface, or enum expected
                for(i=mapp.begin(); i!=mapp.end(); i++){
                                    ^
0_0_6815588_24464\Main.java:76: class, interface, or enum expected
                for(i=mapp.begin(); i!=mapp.end(); i++){
                                                   ^
0_0_6815588_24464\Main.java:78: class, interface, or enum expected
                    if(t1>=x){
                    ^
0_0_6815588_24464\Main.java:80: class, interface, or enum expected
                        __int64 x1=gcd(t1,p);
                        ^
0_0_6815588_24464\Main.java:81: class, interface, or enum expected
                        __int64 x2=gcd(t2,p);
                        ^
0_0_6815588_24464\Main.java:82: class, interface, or enum expected
                        if(x1==1LL&&x2==1LL)ans+=t2-t1;
                        ^
0_0_6815588_24464\Main.java:83: class, interface, or enum expected
                        else if(x1==1LL&&x2!=1LL)ans-=t1;
                        ^
0_0_6815588_24464\Main.java:84: class, interface, or enum expected
                        else if(x1!=1LL&&x2==1LL)ans+=t2;
                        ^
0_0_6815588_24464\Main.java:85: class, interface, or enum expected
                        else ;
                        ^
0_0_6815588_24464\Main.java:86: class, interface, or enum expected
                    }
                    ^
0_0_6815588_24464\Main.java:88: class, interface, or enum expected
                }
                ^
0_0_6815588_24464\Main.java:90: class, interface, or enum expected
            }
            ^
0_0_6815588_24464\Main.java:93: class, interface, or enum expected
                scanf("%I64d%I64d",&x,&c);
                ^
0_0_6815588_24464\Main.java:94: class, interface, or enum expected
                mapp[x]=c;
                ^
0_0_6815588_24464\Main.java:96: class, interface, or enum expected
            }
            ^
0_0_6815588_24464\Main.java:100: class, interface, or enum expected
}
^
76 errors


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 11:37:41, Gzip enabled