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_18202717_12238\Main.java:1: 错误: 非法字符: '#'
# include<stdio.h>
^
0_0_18202717_12238\Main.java:1: 错误: 需要class, interface或enum
# include<stdio.h>
         ^
0_0_18202717_12238\Main.java:2: 错误: 非法字符: '#'
# include<string.h>
^
0_0_18202717_12238\Main.java:3: 错误: 非法字符: '#'
# include<stdlib.h>
^
0_0_18202717_12238\Main.java:4: 错误: 非法字符: '#'
# define N 1000005
^
0_0_18202717_12238\Main.java:6: 错误: 需要class, interface或enum
__int64 P,Phi;
^
0_0_18202717_12238\Main.java:7: 错误: 需要class, interface或enum
struct matrix{
^
0_0_18202717_12238\Main.java:9: 错误: 需要class, interface或enum
};
^
0_0_18202717_12238\Main.java:10: 错误: 需要class, interface或enum
void intt()
^
0_0_18202717_12238\Main.java:13: 错误: 需要class, interface或enum
    memset(visit,0,sizeof(visit));
    ^
0_0_18202717_12238\Main.java:14: 错误: 需要class, interface或enum
    for(i=2;i<=1000;i++)
    ^
0_0_18202717_12238\Main.java:14: 错误: 需要class, interface或enum
    for(i=2;i<=1000;i++)
            ^
0_0_18202717_12238\Main.java:14: 错误: 需要class, interface或enum
    for(i=2;i<=1000;i++)
                    ^
0_0_18202717_12238\Main.java:18: 错误: 需要class, interface或enum
            for(j=i+i;j<=1000000;j+=i)
                      ^
0_0_18202717_12238\Main.java:18: 错误: 需要class, interface或enum
            for(j=i+i;j<=1000000;j+=i)
                                 ^
0_0_18202717_12238\Main.java:21: 错误: 需要class, interface或enum
            }
            ^
0_0_18202717_12238\Main.java:25: 错误: 需要class, interface或enum
    for(j=2;j<=1000000;j++)
    ^
0_0_18202717_12238\Main.java:25: 错误: 需要class, interface或enum
    for(j=2;j<=1000000;j++)
            ^
0_0_18202717_12238\Main.java:25: 错误: 需要class, interface或enum
    for(j=2;j<=1000000;j++)
                       ^
0_0_18202717_12238\Main.java:27: 错误: 需要class, interface或enum
}
^
0_0_18202717_12238\Main.java:31: 错误: 需要class, interface或enum
    matrix ans;
    ^
0_0_18202717_12238\Main.java:32: 错误: 需要class, interface或enum
    for(i=0;i<=1;i++)
    ^
0_0_18202717_12238\Main.java:32: 错误: 需要class, interface或enum
    for(i=0;i<=1;i++)
            ^
0_0_18202717_12238\Main.java:32: 错误: 需要class, interface或enum
    for(i=0;i<=1;i++)
                 ^
0_0_18202717_12238\Main.java:34: 错误: 需要class, interface或enum
        for(j=0;j<=1;j++)
                ^
0_0_18202717_12238\Main.java:34: 错误: 需要class, interface或enum
        for(j=0;j<=1;j++)
                     ^
0_0_18202717_12238\Main.java:37: 错误: 需要class, interface或enum
            for(k=0;k<=1;k++)
            ^
0_0_18202717_12238\Main.java:37: 错误: 需要class, interface或enum
            for(k=0;k<=1;k++)
                    ^
0_0_18202717_12238\Main.java:37: 错误: 需要class, interface或enum
            for(k=0;k<=1;k++)
                         ^
0_0_18202717_12238\Main.java:40: 错误: 需要class, interface或enum
                if(ans.A[i][j]>Phi)
                ^
0_0_18202717_12238\Main.java:43: 错误: 需要class, interface或enum
                }
                ^
0_0_18202717_12238\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_18202717_12238\Main.java:52: 错误: 需要class, interface或enum
    ans.A[0][0]=1;
    ^
0_0_18202717_12238\Main.java:53: 错误: 需要class, interface或enum
    ans.A[0][1]=0;
    ^
0_0_18202717_12238\Main.java:54: 错误: 需要class, interface或enum
    ans.A[1][0]=0;
    ^
0_0_18202717_12238\Main.java:55: 错误: 需要class, interface或enum
    ans.A[1][1]=1;
    ^
0_0_18202717_12238\Main.java:56: 错误: 需要class, interface或enum
    while(k)
    ^
0_0_18202717_12238\Main.java:59: 错误: 需要class, interface或enum
        un=power(un,un);
        ^
0_0_18202717_12238\Main.java:60: 错误: 需要class, interface或enum
        k/=2;
        ^
0_0_18202717_12238\Main.java:61: 错误: 需要class, interface或enum
    }
    ^
0_0_18202717_12238\Main.java:63: 错误: 需要class, interface或enum
}
^
0_0_18202717_12238\Main.java:67: 错误: 需要class, interface或enum
    ans=1;
    ^
0_0_18202717_12238\Main.java:68: 错误: 需要class, interface或enum
    while(k)
    ^
0_0_18202717_12238\Main.java:73: 错误: 需要class, interface或enum
            ans%=P;
            ^
0_0_18202717_12238\Main.java:74: 错误: 需要class, interface或enum
        }
        ^
0_0_18202717_12238\Main.java:76: 错误: 需要class, interface或enum
        a%=P;
        ^
0_0_18202717_12238\Main.java:77: 错误: 需要class, interface或enum
        k/=2;
        ^
0_0_18202717_12238\Main.java:78: 错误: 需要class, interface或enum
    }
    ^
0_0_18202717_12238\Main.java:80: 错误: 需要class, interface或enum
}
^
0_0_18202717_12238\Main.java:84: 错误: 需要class, interface或enum
    __int64 a,b,aa,bb,n,num,num1,num2;
    ^
0_0_18202717_12238\Main.java:85: 错误: 需要class, interface或enum
    matrix init,ans;
    ^
0_0_18202717_12238\Main.java:86: 错误: 需要class, interface或enum
    intt();
    ^
0_0_18202717_12238\Main.java:87: 错误: 需要class, interface或enum
    scanf("%d",&ncase);
    ^
0_0_18202717_12238\Main.java:88: 错误: 需要class, interface或enum
    for(t=1;t<=ncase;t++)
    ^
0_0_18202717_12238\Main.java:88: 错误: 需要class, interface或enum
    for(t=1;t<=ncase;t++)
            ^
0_0_18202717_12238\Main.java:88: 错误: 需要class, interface或enum
    for(t=1;t<=ncase;t++)
                     ^
0_0_18202717_12238\Main.java:91: 错误: 需要class, interface或enum
        printf("Case #%d: ",t);
        ^
0_0_18202717_12238\Main.java:92: 错误: 需要class, interface或enum
        if(n==1) {printf("%I64d\n",a%P);continue;}
        ^
0_0_18202717_12238\Main.java:92: 错误: 需要class, interface或enum
        if(n==1) {printf("%I64d\n",a%P);continue;}
                                        ^
0_0_18202717_12238\Main.java:92: 错误: 需要class, interface或enum
        if(n==1) {printf("%I64d\n",a%P);continue;}
                                                 ^
0_0_18202717_12238\Main.java:93: 错误: 需要class, interface或enum
        else if(n==2) {printf("%I64d\n",b%P); continue;}
                                              ^
0_0_18202717_12238\Main.java:93: 错误: 需要class, interface或enum
        else if(n==2) {printf("%I64d\n",b%P); continue;}
                                                       ^
0_0_18202717_12238\Main.java:94: 错误: 需要class, interface或enum
        else if(n==3) {printf("%I64d\n",a*b%P);continue;}
                                               ^
0_0_18202717_12238\Main.java:94: 错误: 需要class, interface或enum
        else if(n==3) {printf("%I64d\n",a*b%P);continue;}
                                                        ^
0_0_18202717_12238\Main.java:95: 错误: 需要class, interface或enum
        if(P==1) {printf("0\n");continue;}
                                ^
0_0_18202717_12238\Main.java:95: 错误: 需要class, interface或enum
        if(P==1) {printf("0\n");continue;}
                                         ^
0_0_18202717_12238\Main.java:97: 错误: 需要class, interface或enum
        init.A[0][1]=1;
        ^
0_0_18202717_12238\Main.java:98: 错误: 需要class, interface或enum
        init.A[1][0]=1;
        ^
0_0_18202717_12238\Main.java:99: 错误: 需要class, interface或enum
        init.A[1][1]=1;
        ^
0_0_18202717_12238\Main.java:101: 错误: 需要class, interface或enum
        Phi=1;
        ^
0_0_18202717_12238\Main.java:102: 错误: 需要class, interface或enum
        num=P;
        ^
0_0_18202717_12238\Main.java:103: 错误: 需要class, interface或enum
        for(i=1;i<=K;i++)
        ^
0_0_18202717_12238\Main.java:103: 错误: 需要class, interface或enum
        for(i=1;i<=K;i++)
                ^
0_0_18202717_12238\Main.java:103: 错误: 需要class, interface或enum
        for(i=1;i<=K;i++)
                     ^
0_0_18202717_12238\Main.java:106: 错误: 需要class, interface或enum
            if(P%prime[i]==0) {Phi*=(prime[i]-1);num/=prime[i];}
            ^
0_0_18202717_12238\Main.java:106: 错误: 需要class, interface或enum
            if(P%prime[i]==0) {Phi*=(prime[i]-1);num/=prime[i];}
                                                 ^
0_0_18202717_12238\Main.java:106: 错误: 需要class, interface或enum
            if(P%prime[i]==0) {Phi*=(prime[i]-1);num/=prime[i];}
                                                               ^
0_0_18202717_12238\Main.java:110: 错误: 需要class, interface或enum
        ans=mod(init,n-3);
        ^
0_0_18202717_12238\Main.java:112: 错误: 需要class, interface或enum
        num1=ans.A[1][1];
        ^
0_0_18202717_12238\Main.java:113: 错误: 需要class, interface或enum
        num2=ans.A[0][1]+ans.A[1][1];
        ^
0_0_18202717_12238\Main.java:114: 错误: 需要class, interface或enum
        if(num2>Phi) num2=num2%Phi+Phi;
        ^
0_0_18202717_12238\Main.java:116: 错误: 需要class, interface或enum
        aa=mod1(a,num1);
        ^
0_0_18202717_12238\Main.java:117: 错误: 需要class, interface或enum
        bb=mod1(b,num2);
        ^
0_0_18202717_12238\Main.java:119: 错误: 需要class, interface或enum
        printf("%I64d\n",aa*bb%P);
        ^
0_0_18202717_12238\Main.java:120: 错误: 需要class, interface或enum
    }
    ^
0_0_18202717_12238\Main.java:122: 错误: 需要class, interface或enum
}
^
86 个错误


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-27 05:20:25, Gzip enabled