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_24536140_32747\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_24536140_32747\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_24536140_32747\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_24536140_32747\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_24536140_32747\Main.java:4: 错误: 非法字符: '#'
#define LL long long
^
0_0_24536140_32747\Main.java:7: 错误: 需要class, interface或enum
LL n,a,b,c,mod,mod2;
^
0_0_24536140_32747\Main.java:9: 错误: 需要class, interface或enum
LL power(LL a,LL pos)
^
0_0_24536140_32747\Main.java:12: 错误: 需要class, interface或enum
    for(; pos; pos>>=1, a=a*a%mod)
    ^
0_0_24536140_32747\Main.java:12: 错误: 需要class, interface或enum
    for(; pos; pos>>=1, a=a*a%mod)
          ^
0_0_24536140_32747\Main.java:12: 错误: 需要class, interface或enum
    for(; pos; pos>>=1, a=a*a%mod)
               ^
0_0_24536140_32747\Main.java:14: 错误: 需要class, interface或enum
    return ans;
    ^
0_0_24536140_32747\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_24536140_32747\Main.java:20: 错误: 需要class, interface或enum
    void init()
    ^
0_0_24536140_32747\Main.java:23: 错误: 需要class, interface或enum
    }
    ^
0_0_24536140_32747\Main.java:27: 错误: 需要class, interface或enum
        b.init();
        ^
0_0_24536140_32747\Main.java:28: 错误: 需要class, interface或enum
        b.h=h,b.l=a.l;
        ^
0_0_24536140_32747\Main.java:29: 错误: 需要class, interface或enum
        for(int i=1; i<=h; ++i)
        ^
0_0_24536140_32747\Main.java:29: 错误: 需要class, interface或enum
        for(int i=1; i<=h; ++i)
                     ^
0_0_24536140_32747\Main.java:29: 错误: 需要class, interface或enum
        for(int i=1; i<=h; ++i)
                           ^
0_0_24536140_32747\Main.java:30: 错误: 需要class, interface或enum
            for(int j=1; j<=a.l; ++j)
                         ^
0_0_24536140_32747\Main.java:30: 错误: 需要class, interface或enum
            for(int j=1; j<=a.l; ++j)
                                 ^
0_0_24536140_32747\Main.java:31: 错误: 需要class, interface或enum
                for(int k=1; k<=l; ++k)
                             ^
0_0_24536140_32747\Main.java:31: 错误: 需要class, interface或enum
                for(int k=1; k<=l; ++k)
                                   ^
0_0_24536140_32747\Main.java:33: 错误: 需要class, interface或enum
        return b;
        ^
0_0_24536140_32747\Main.java:34: 错误: 需要class, interface或enum
    }
    ^
0_0_24536140_32747\Main.java:37: 错误: 需要class, interface或enum
mat cal(mat &a,LL pos)
^
0_0_24536140_32747\Main.java:40: 错误: 需要class, interface或enum
    for(; pos; pos>>=1, a=a*a)
    ^
0_0_24536140_32747\Main.java:40: 错误: 需要class, interface或enum
    for(; pos; pos>>=1, a=a*a)
          ^
0_0_24536140_32747\Main.java:40: 错误: 需要class, interface或enum
    for(; pos; pos>>=1, a=a*a)
               ^
0_0_24536140_32747\Main.java:42: 错误: 需要class, interface或enum
    return ans;
    ^
0_0_24536140_32747\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_24536140_32747\Main.java:48: 错误: 需要class, interface或enum
    tmp1.h=3;
    ^
0_0_24536140_32747\Main.java:49: 错误: 需要class, interface或enum
    tmp1.l=1;
    ^
0_0_24536140_32747\Main.java:50: 错误: 需要class, interface或enum
    tmp1.num[1][1]=0, tmp1.num[2][1]=b, tmp1.num[3][1]=b;
    ^
0_0_24536140_32747\Main.java:51: 错误: 需要class, interface或enum
    tmp2.h=tmp2.l=3;
    ^
0_0_24536140_32747\Main.java:52: 错误: 需要class, interface或enum
    tmp2.num[1][2]=tmp2.num[2][1]=tmp2.num[2][3]=tmp2.num[3][3]=1, tmp2.num[2][2]=c;
    ^
0_0_24536140_32747\Main.java:53: 错误: 需要class, interface或enum
    tmp1=cal(tmp2,n-3)*tmp1;
    ^
0_0_24536140_32747\Main.java:54: 错误: 需要class, interface或enum
    return tmp1.num[2][1];
    ^
0_0_24536140_32747\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_24536140_32747\Main.java:60: 错误: 需要class, interface或enum
    scanf("%d",&cas);
    ^
0_0_24536140_32747\Main.java:61: 错误: 需要class, interface或enum
    while(cas--)
    ^
0_0_24536140_32747\Main.java:65: 错误: 需要class, interface或enum
        mod2=mod-1;
        ^
0_0_24536140_32747\Main.java:66: 错误: 需要class, interface或enum
        if(n==1)puts("1");
        ^
0_0_24536140_32747\Main.java:67: 错误: 需要class, interface或enum
        else if(n==2)printf("%lld\n",power(a,b));
        ^
0_0_24536140_32747\Main.java:68: 错误: 需要class, interface或enum
        else if(a%mod==0)puts("0");
        ^
0_0_24536140_32747\Main.java:69: 错误: 需要class, interface或enum
        else printf("%lld\n",power(a,solve(n)));
        ^
0_0_24536140_32747\Main.java:70: 错误: 需要class, interface或enum
    }
    ^
0_0_24536140_32747\Main.java:72: 错误: 需要class, interface或enum
}
^
48 个错误


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 15:20:06, Gzip enabled