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_21199681_10407\Main.java:1: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_21199681_10407\Main.java:1: 错误: 需要class, interface或enum
#include <cstdio>
         ^
0_0_21199681_10407\Main.java:2: 错误: 非法字符: '#'
#include <cstring>
^
0_0_21199681_10407\Main.java:4: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_21199681_10407\Main.java:6: 错误: 需要class, interface或enum
const int MAX_N = 15;
^
0_0_21199681_10407\Main.java:7: 错误: 需要class, interface或enum
const int MOD = 10000007;
^
0_0_21199681_10407\Main.java:9: 错误: 需要class, interface或enum
struct Matrix {
^
0_0_21199681_10407\Main.java:11: 错误: 需要class, interface或enum
    int a[MAX_N][MAX_N];
    ^
0_0_21199681_10407\Main.java:12: 错误: 需要class, interface或enum
    void clear() {
    ^
0_0_21199681_10407\Main.java:14: 错误: 需要class, interface或enum
        memset(a, 0, sizeof(a));
        ^
0_0_21199681_10407\Main.java:15: 错误: 需要class, interface或enum
    }
    ^
0_0_21199681_10407\Main.java:18: 错误: 需要class, interface或enum
        tmp.n = n; tmp.m = m;
        ^
0_0_21199681_10407\Main.java:18: 错误: 需要class, interface或enum
        tmp.n = n; tmp.m = m;
                   ^
0_0_21199681_10407\Main.java:19: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++)
        ^
0_0_21199681_10407\Main.java:19: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++)
                        ^
0_0_21199681_10407\Main.java:19: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++)
                               ^
0_0_21199681_10407\Main.java:20: 错误: 需要class, interface或enum
            for (int j = 0; j < m; j++)
                            ^
0_0_21199681_10407\Main.java:20: 错误: 需要class, interface或enum
            for (int j = 0; j < m; j++)
                                   ^
0_0_21199681_10407\Main.java:22: 错误: 需要class, interface或enum
        return tmp;
        ^
0_0_21199681_10407\Main.java:23: 错误: 需要class, interface或enum
    }
    ^
0_0_21199681_10407\Main.java:26: 错误: 需要class, interface或enum
        tmp.clear();
        ^
0_0_21199681_10407\Main.java:27: 错误: 需要class, interface或enum
        tmp.n = n; tmp.m = b.m;
        ^
0_0_21199681_10407\Main.java:27: 错误: 需要class, interface或enum
        tmp.n = n; tmp.m = b.m;
                   ^
0_0_21199681_10407\Main.java:28: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++) 
        ^
0_0_21199681_10407\Main.java:28: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++) 
                        ^
0_0_21199681_10407\Main.java:28: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++) 
                               ^
0_0_21199681_10407\Main.java:29: 错误: 需要class, interface或enum
            for (int j = 0; j < b.m; j++)
                            ^
0_0_21199681_10407\Main.java:29: 错误: 需要class, interface或enum
            for (int j = 0; j < b.m; j++)
                                     ^
0_0_21199681_10407\Main.java:30: 错误: 需要class, interface或enum
                for (int k = 0; k < m; k++)
                                ^
0_0_21199681_10407\Main.java:30: 错误: 需要class, interface或enum
                for (int k = 0; k < m; k++)
                                       ^
0_0_21199681_10407\Main.java:32: 错误: 需要class, interface或enum
        return tmp;
        ^
0_0_21199681_10407\Main.java:33: 错误: 需要class, interface或enum
    }
    ^
0_0_21199681_10407\Main.java:36: 错误: 需要class, interface或enum
        this->n = b.n;
        ^
0_0_21199681_10407\Main.java:37: 错误: 需要class, interface或enum
        this->m = b.m;
        ^
0_0_21199681_10407\Main.java:38: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++) {
        ^
0_0_21199681_10407\Main.java:38: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++) {
                        ^
0_0_21199681_10407\Main.java:38: 错误: 需要class, interface或enum
        for (int i = 0; i < n; i++) {
                               ^
0_0_21199681_10407\Main.java:39: 错误: 需要class, interface或enum
            for (int j = 0; j < m; j++) {
                            ^
0_0_21199681_10407\Main.java:39: 错误: 需要class, interface或enum
            for (int j = 0; j < m; j++) {
                                   ^
0_0_21199681_10407\Main.java:41: 错误: 需要class, interface或enum
            }
            ^
0_0_21199681_10407\Main.java:44: 错误: 需要class, interface或enum
    }
    ^
0_0_21199681_10407\Main.java:48: 错误: 需要class, interface或enum
Matrix mpow(Matrix a, ll b) {
^
0_0_21199681_10407\Main.java:50: 错误: 需要class, interface或enum
    ans.clear();
    ^
0_0_21199681_10407\Main.java:51: 错误: 需要class, interface或enum
    ans.n = ans.m = a.n;
    ^
0_0_21199681_10407\Main.java:52: 错误: 需要class, interface或enum
    for (int i = 0; i < ans.n; i++) {
    ^
0_0_21199681_10407\Main.java:52: 错误: 需要class, interface或enum
    for (int i = 0; i < ans.n; i++) {
                    ^
0_0_21199681_10407\Main.java:52: 错误: 需要class, interface或enum
    for (int i = 0; i < ans.n; i++) {
                               ^
0_0_21199681_10407\Main.java:54: 错误: 需要class, interface或enum
    }
    ^
0_0_21199681_10407\Main.java:55: 错误: 需要class, interface或enum
    for (; b; b >>= 1, a = a * a)
           ^
0_0_21199681_10407\Main.java:55: 错误: 需要class, interface或enum
    for (; b; b >>= 1, a = a * a)
              ^
0_0_21199681_10407\Main.java:57: 错误: 需要class, interface或enum
    return ans;
    ^
0_0_21199681_10407\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_21199681_10407\Main.java:62: 错误: 需要class, interface或enum
int main() {
^
0_0_21199681_10407\Main.java:64: 错误: 需要class, interface或enum
    while (~scanf("%d%d", &n, &m)) {
    ^
0_0_21199681_10407\Main.java:66: 错误: 需要class, interface或enum
        A.n = n + 2; A.m = 1;
        ^
0_0_21199681_10407\Main.java:66: 错误: 需要class, interface或enum
        A.n = n + 2; A.m = 1;
                     ^
0_0_21199681_10407\Main.java:67: 错误: 需要class, interface或enum
        A.a[0][0] = 23;
        ^
0_0_21199681_10407\Main.java:68: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i++) {
        ^
0_0_21199681_10407\Main.java:68: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i++) {
                        ^
0_0_21199681_10407\Main.java:68: 错误: 需要class, interface或enum
        for (int i = 1; i <= n; i++) {
                                ^
0_0_21199681_10407\Main.java:70: 错误: 需要class, interface或enum
        }
        ^
0_0_21199681_10407\Main.java:72: 错误: 需要class, interface或enum
        B.clear();
        ^
0_0_21199681_10407\Main.java:73: 错误: 需要class, interface或enum
        B.n = n + 2; B.m = n + 2;
        ^
0_0_21199681_10407\Main.java:73: 错误: 需要class, interface或enum
        B.n = n + 2; B.m = n + 2;
                     ^
0_0_21199681_10407\Main.java:74: 错误: 需要class, interface或enum
        for (int i = 0; i < n + 1; i++) B.a[i][0] = 10;
        ^
0_0_21199681_10407\Main.java:74: 错误: 需要class, interface或enum
        for (int i = 0; i < n + 1; i++) B.a[i][0] = 10;
                        ^
0_0_21199681_10407\Main.java:74: 错误: 需要class, interface或enum
        for (int i = 0; i < n + 1; i++) B.a[i][0] = 10;
                                   ^
0_0_21199681_10407\Main.java:75: 错误: 需要class, interface或enum
        for (int i = 0; i < n + 2; i++) B.a[i][n + 1] = 1;
        ^
0_0_21199681_10407\Main.java:75: 错误: 需要class, interface或enum
        for (int i = 0; i < n + 2; i++) B.a[i][n + 1] = 1;
                        ^
0_0_21199681_10407\Main.java:75: 错误: 需要class, interface或enum
        for (int i = 0; i < n + 2; i++) B.a[i][n + 1] = 1;
                                   ^
0_0_21199681_10407\Main.java:76: 错误: 需要class, interface或enum
        for (int i = 1; i < n + 1; i++) {
        ^
0_0_21199681_10407\Main.java:76: 错误: 需要class, interface或enum
        for (int i = 1; i < n + 1; i++) {
                        ^
0_0_21199681_10407\Main.java:76: 错误: 需要class, interface或enum
        for (int i = 1; i < n + 1; i++) {
                                   ^
0_0_21199681_10407\Main.java:77: 错误: 需要class, interface或enum
            for (int j = 1; j <= i; j++) {
                            ^
0_0_21199681_10407\Main.java:77: 错误: 需要class, interface或enum
            for (int j = 1; j <= i; j++) {
                                    ^
0_0_21199681_10407\Main.java:79: 错误: 需要class, interface或enum
            }
            ^
0_0_21199681_10407\Main.java:82: 错误: 需要class, interface或enum
        A = B * A;
        ^
0_0_21199681_10407\Main.java:83: 错误: 需要class, interface或enum
        printf("%d\n", A.a[n][0]);
        ^
0_0_21199681_10407\Main.java:84: 错误: 需要class, interface或enum
    }
    ^
0_0_21199681_10407\Main.java:86: 错误: 需要class, interface或enum
}
^
80 个错误


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-29 08:36:09, Gzip enabled