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_18602342_14469\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_18602342_14469\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
         ^
0_0_18602342_14469\Main.java:2: 错误: 非法字符: '#'
#include <string.h>
^
0_0_18602342_14469\Main.java:3: 错误: 非法字符: '#'
#include <stdio.h>
^
0_0_18602342_14469\Main.java:6: 错误: 需要class, interface或enum
const int N = 50;
^
0_0_18602342_14469\Main.java:8: 错误: 需要class, interface或enum
int a[5];
^
0_0_18602342_14469\Main.java:9: 错误: 需要class, interface或enum
int m[5] = {31,37,41,43,47};
^
0_0_18602342_14469\Main.java:10: 错误: 需要class, interface或enum
int B[5][N],T[N];
^
0_0_18602342_14469\Main.java:12: 错误: 需要class, interface或enum
void Bell(int T[],int index,int MOD)
^
0_0_18602342_14469\Main.java:15: 错误: 需要class, interface或enum
    B[index][1] = 1;
    ^
0_0_18602342_14469\Main.java:16: 错误: 需要class, interface或enum
    T[0] = 1;
    ^
0_0_18602342_14469\Main.java:17: 错误: 需要class, interface或enum
    for(int i=2;i<N;i++)
    ^
0_0_18602342_14469\Main.java:17: 错误: 需要class, interface或enum
    for(int i=2;i<N;i++)
                ^
0_0_18602342_14469\Main.java:17: 错误: 需要class, interface或enum
    for(int i=2;i<N;i++)
                    ^
0_0_18602342_14469\Main.java:20: 错误: 需要class, interface或enum
        for(int j=i-2;j>=0;j--)
        ^
0_0_18602342_14469\Main.java:20: 错误: 需要class, interface或enum
        for(int j=i-2;j>=0;j--)
                      ^
0_0_18602342_14469\Main.java:20: 错误: 需要class, interface或enum
        for(int j=i-2;j>=0;j--)
                           ^
0_0_18602342_14469\Main.java:22: 错误: 需要class, interface或enum
        B[index][i] = T[0];
        ^
0_0_18602342_14469\Main.java:23: 错误: 需要class, interface或enum
    }
    ^
0_0_18602342_14469\Main.java:29: 错误: 需要class, interface或enum
};
^
0_0_18602342_14469\Main.java:31: 错误: 需要class, interface或enum
Matrix I;
^
0_0_18602342_14469\Main.java:33: 错误: 需要class, interface或enum
Matrix multi(Matrix a,Matrix b,int MOD)
^
0_0_18602342_14469\Main.java:36: 错误: 需要class, interface或enum
    Matrix c;
    ^
0_0_18602342_14469\Main.java:37: 错误: 需要class, interface或enum
    for(i=0;i<N;i++)
    ^
0_0_18602342_14469\Main.java:37: 错误: 需要class, interface或enum
    for(i=0;i<N;i++)
            ^
0_0_18602342_14469\Main.java:37: 错误: 需要class, interface或enum
    for(i=0;i<N;i++)
                ^
0_0_18602342_14469\Main.java:39: 错误: 需要class, interface或enum
        for(j=0;j<N;j++)
                ^
0_0_18602342_14469\Main.java:39: 错误: 需要class, interface或enum
        for(j=0;j<N;j++)
                    ^
0_0_18602342_14469\Main.java:42: 错误: 需要class, interface或enum
            for(k=0;k<N;k++)
            ^
0_0_18602342_14469\Main.java:42: 错误: 需要class, interface或enum
            for(k=0;k<N;k++)
                    ^
0_0_18602342_14469\Main.java:42: 错误: 需要class, interface或enum
            for(k=0;k<N;k++)
                        ^
0_0_18602342_14469\Main.java:44: 错误: 需要class, interface或enum
            c.m[i][j] %= MOD;
            ^
0_0_18602342_14469\Main.java:45: 错误: 需要class, interface或enum
        }
        ^
0_0_18602342_14469\Main.java:48: 错误: 需要class, interface或enum
}
^
0_0_18602342_14469\Main.java:53: 错误: 需要class, interface或enum
    while(k)
    ^
0_0_18602342_14469\Main.java:58: 错误: 需要class, interface或enum
            k--;
            ^
0_0_18602342_14469\Main.java:59: 错误: 需要class, interface或enum
        }
        ^
0_0_18602342_14469\Main.java:61: 错误: 需要class, interface或enum
        p = multi(p,p,MOD);
        ^
0_0_18602342_14469\Main.java:62: 错误: 需要class, interface或enum
    }
    ^
0_0_18602342_14469\Main.java:64: 错误: 需要class, interface或enum
}
^
0_0_18602342_14469\Main.java:71: 错误: 需要class, interface或enum
        y = 0;
        ^
0_0_18602342_14469\Main.java:72: 错误: 需要class, interface或enum
        return;
        ^
0_0_18602342_14469\Main.java:73: 错误: 需要class, interface或enum
    }
    ^
0_0_18602342_14469\Main.java:75: 错误: 需要class, interface或enum
    int tmp = x;
    ^
0_0_18602342_14469\Main.java:76: 错误: 需要class, interface或enum
    x = y;
    ^
0_0_18602342_14469\Main.java:77: 错误: 需要class, interface或enum
    y = tmp - (a/b)*y;
    ^
0_0_18602342_14469\Main.java:78: 错误: 需要class, interface或enum
}
^
0_0_18602342_14469\Main.java:83: 错误: 需要class, interface或enum
    int Mi,M=1,ans = 0;
    ^
0_0_18602342_14469\Main.java:84: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
    ^
0_0_18602342_14469\Main.java:84: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
                ^
0_0_18602342_14469\Main.java:84: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
                    ^
0_0_18602342_14469\Main.java:86: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
    ^
0_0_18602342_14469\Main.java:86: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
                ^
0_0_18602342_14469\Main.java:86: 错误: 需要class, interface或enum
    for(int i=0;i<n;i++)
                    ^
0_0_18602342_14469\Main.java:89: 错误: 需要class, interface或enum
        extend_Euclid(Mi,m[i],x,y);
        ^
0_0_18602342_14469\Main.java:90: 错误: 需要class, interface或enum
        ans = (ans + Mi*x*a[i])%M;
        ^
0_0_18602342_14469\Main.java:91: 错误: 需要class, interface或enum
    }
    ^
0_0_18602342_14469\Main.java:93: 错误: 需要class, interface或enum
    return ans;
    ^
0_0_18602342_14469\Main.java:94: 错误: 需要class, interface或enum
}
^
0_0_18602342_14469\Main.java:98: 错误: 需要class, interface或enum
    for(int i=0;i<5;i++)
                ^
0_0_18602342_14469\Main.java:98: 错误: 需要class, interface或enum
    for(int i=0;i<5;i++)
                    ^
0_0_18602342_14469\Main.java:100: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++)
    ^
0_0_18602342_14469\Main.java:100: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++)
                ^
0_0_18602342_14469\Main.java:100: 错误: 需要class, interface或enum
    for(int i=0;i<N;i++)
                    ^
0_0_18602342_14469\Main.java:101: 错误: 需要class, interface或enum
       for(int j=0;j<N;j++)
                   ^
0_0_18602342_14469\Main.java:101: 错误: 需要class, interface或enum
       for(int j=0;j<N;j++)
                       ^
0_0_18602342_14469\Main.java:103: 错误: 需要class, interface或enum
}
^
0_0_18602342_14469\Main.java:109: 错误: 需要class, interface或enum
        for(int i=0;i<5;i++)
                    ^
0_0_18602342_14469\Main.java:109: 错误: 需要class, interface或enum
        for(int i=0;i<5;i++)
                        ^
0_0_18602342_14469\Main.java:111: 错误: 需要class, interface或enum
        int ans = CRT(a,m,5);
        ^
0_0_18602342_14469\Main.java:112: 错误: 需要class, interface或enum
        printf("%d\n",ans);
        ^
0_0_18602342_14469\Main.java:113: 错误: 需要class, interface或enum
    }
    ^
0_0_18602342_14469\Main.java:117: 错误: 需要class, interface或enum
        for(int i=0;i<5;i++)
        ^
0_0_18602342_14469\Main.java:117: 错误: 需要class, interface或enum
        for(int i=0;i<5;i++)
                    ^
0_0_18602342_14469\Main.java:117: 错误: 需要class, interface或enum
        for(int i=0;i<5;i++)
                        ^
0_0_18602342_14469\Main.java:119: 错误: 需要class, interface或enum
            for(int k=0;k<N;k++)
                        ^
0_0_18602342_14469\Main.java:119: 错误: 需要class, interface或enum
            for(int k=0;k<N;k++)
                            ^
0_0_18602342_14469\Main.java:120: 错误: 需要class, interface或enum
               for(int j=0;j<N;j++)
                           ^
0_0_18602342_14469\Main.java:120: 错误: 需要class, interface或enum
               for(int j=0;j<N;j++)
                               ^
0_0_18602342_14469\Main.java:122: 错误: 需要class, interface或enum
            for(int j=0;j<m[i]-1;j++)
            ^
0_0_18602342_14469\Main.java:122: 错误: 需要class, interface或enum
            for(int j=0;j<m[i]-1;j++)
                        ^
0_0_18602342_14469\Main.java:122: 错误: 需要class, interface或enum
            for(int j=0;j<m[i]-1;j++)
                                 ^
0_0_18602342_14469\Main.java:124: 错误: 需要class, interface或enum
            A.m[0][m[i]-1] = A.m[1][m[i]-1] = 1;
            ^
0_0_18602342_14469\Main.java:125: 错误: 需要class, interface或enum
            Matrix ans = power(A,n - m[i] + 1,m[i]);
            ^
0_0_18602342_14469\Main.java:126: 错误: 需要class, interface或enum
            a[i] = 0;
            ^
0_0_18602342_14469\Main.java:127: 错误: 需要class, interface或enum
            for(int j=0;j<m[i];j++)
            ^
0_0_18602342_14469\Main.java:127: 错误: 需要class, interface或enum
            for(int j=0;j<m[i];j++)
                        ^
0_0_18602342_14469\Main.java:127: 错误: 需要class, interface或enum
            for(int j=0;j<m[i];j++)
                               ^
0_0_18602342_14469\Main.java:129: 错误: 需要class, interface或enum
            a[i] %= m[i];
            ^
0_0_18602342_14469\Main.java:130: 错误: 需要class, interface或enum
        }
        ^
0_0_18602342_14469\Main.java:132: 错误: 需要class, interface或enum


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 03:10:02, Gzip enabled