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_22540824_20657\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h> 
^
0_0_22540824_20657\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h> 
        ^
0_0_22540824_20657\Main.java:2: 错误: 非法字符: '#'
#include<string.h>
^
0_0_22540824_20657\Main.java:5: 错误: 需要class, interface或enum
const int m=3;
^
0_0_22540824_20657\Main.java:6: 错误: 需要class, interface或enum
const int mod=1000000007;
^
0_0_22540824_20657\Main.java:8: 错误: 需要class, interface或enum
struct matrix{
^
0_0_22540824_20657\Main.java:10: 错误: 需要class, interface或enum
};
^
0_0_22540824_20657\Main.java:12: 错误: 需要class, interface或enum
matrix mutimatrix(matrix a,matrix b){
^
0_0_22540824_20657\Main.java:14: 错误: 需要class, interface或enum
    memset(temp.x,0,sizeof(temp.x));
    ^
0_0_22540824_20657\Main.java:15: 错误: 需要class, interface或enum
    for(int i=0;i<m;i++)
    ^
0_0_22540824_20657\Main.java:15: 错误: 需要class, interface或enum
    for(int i=0;i<m;i++)
                ^
0_0_22540824_20657\Main.java:15: 错误: 需要class, interface或enum
    for(int i=0;i<m;i++)
                    ^
0_0_22540824_20657\Main.java:16: 错误: 需要class, interface或enum
        for(int j=0;j<m;j++)
                    ^
0_0_22540824_20657\Main.java:16: 错误: 需要class, interface或enum
        for(int j=0;j<m;j++)
                        ^
0_0_22540824_20657\Main.java:17: 错误: 需要class, interface或enum
            for(int k=0;k<m;k++){
                        ^
0_0_22540824_20657\Main.java:17: 错误: 需要class, interface或enum
            for(int k=0;k<m;k++){
                            ^
0_0_22540824_20657\Main.java:19: 错误: 需要class, interface或enum
                temp.x[i][j]%=mod;
                ^
0_0_22540824_20657\Main.java:20: 错误: 需要class, interface或enum
            }
            ^
0_0_22540824_20657\Main.java:22: 错误: 需要class, interface或enum
}
^
0_0_22540824_20657\Main.java:26: 错误: 需要class, interface或enum
    memset(temp.x,0,sizeof(temp.x));
    ^
0_0_22540824_20657\Main.java:27: 错误: 需要class, interface或enum
    for(int i=0;i<m;i++)
    ^
0_0_22540824_20657\Main.java:27: 错误: 需要class, interface或enum
    for(int i=0;i<m;i++)
                ^
0_0_22540824_20657\Main.java:27: 错误: 需要class, interface或enum
    for(int i=0;i<m;i++)
                    ^
0_0_22540824_20657\Main.java:29: 错误: 需要class, interface或enum
    while(b){
    ^
0_0_22540824_20657\Main.java:31: 错误: 需要class, interface或enum
        a=mutimatrix(a,a);
        ^
0_0_22540824_20657\Main.java:32: 错误: 需要class, interface或enum
        b=b/2;
        ^
0_0_22540824_20657\Main.java:33: 错误: 需要class, interface或enum
    }
    ^
0_0_22540824_20657\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_22540824_20657\Main.java:39: 错误: 需要class, interface或enum
	scanf("%d",&T); 
	^
0_0_22540824_20657\Main.java:40: 错误: 需要class, interface或enum
    while(T--){
    ^
0_0_22540824_20657\Main.java:42: 错误: 需要class, interface或enum
    	scanf("%d",&n);
    	^
0_0_22540824_20657\Main.java:43: 错误: 需要class, interface或enum
        matrix st;
        ^
0_0_22540824_20657\Main.java:44: 错误: 需要class, interface或enum
        st.x[0][0]=1;
        ^
0_0_22540824_20657\Main.java:45: 错误: 需要class, interface或enum
        st.x[1][0]=0;
        ^
0_0_22540824_20657\Main.java:46: 错误: 需要class, interface或enum
        st.x[2][0]=1;
        ^
0_0_22540824_20657\Main.java:47: 错误: 需要class, interface或enum
        st.x[0][1]=1;
        ^
0_0_22540824_20657\Main.java:48: 错误: 需要class, interface或enum
        st.x[1][1]=0;
        ^
0_0_22540824_20657\Main.java:49: 错误: 需要class, interface或enum
        st.x[2][1]=0;
        ^
0_0_22540824_20657\Main.java:50: 错误: 需要class, interface或enum
        st.x[0][2]=0;
        ^
0_0_22540824_20657\Main.java:51: 错误: 需要class, interface或enum
        st.x[1][2]=1;
        ^
0_0_22540824_20657\Main.java:52: 错误: 需要class, interface或enum
        st.x[2][2]=0;
        ^
0_0_22540824_20657\Main.java:53: 错误: 需要class, interface或enum
        st=powmatrix(st,n-1);
        ^
0_0_22540824_20657\Main.java:54: 错误: 需要class, interface或enum
        if(n==1) printf("0\n");
        ^
0_0_22540824_20657\Main.java:55: 错误: 需要class, interface或enum
        else printf("%d\n",(4*st.x[0][2]+3*st.x[1][2]+2*st.x[2][2])%mod);
        ^
0_0_22540824_20657\Main.java:56: 错误: 需要class, interface或enum
    }
    ^
0_0_22540824_20657\Main.java:58: 错误: 需要class, interface或enum
}
^
46 个错误


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 08:37:21, Gzip enabled