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_37074618_8368.c:10:24: error: expected ')' before '&' token
 void InitMatrix(Matrix &a){
                        ^
0_0_37074618_8368.c:14:1: error: unknown type name 'Matrix'
 Matrix operator*(const Matrix &a,const Matrix &b){
 ^
0_0_37074618_8368.c:14:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
 Matrix operator*(const Matrix &a,const Matrix &b){
                ^
0_0_37074618_8368.c:22:18: error: expected ')' before '&' token
 void setE(Matrix &a,int x){
                  ^
0_0_37074618_8368.c:27:1: error: unknown type name 'Matrix'
 Matrix qpow(Matrix m, long long n)
 ^
0_0_37074618_8368.c:27:13: error: unknown type name 'Matrix'
 Matrix qpow(Matrix m, long long n)
             ^
0_0_37074618_8368.c: In function 'solve':
0_0_37074618_8368.c:43:5: error: unknown type name 'Matrix'
     Matrix trans,f;
     ^
0_0_37074618_8368.c:46:10: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
          ^
0_0_37074618_8368.c:46:24: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
                        ^
0_0_37074618_8368.c:46:38: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
                                      ^
0_0_37074618_8368.c:46:52: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
                                                    ^
0_0_37074618_8368.c:46:66: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
                                                                  ^
0_0_37074618_8368.c:46:80: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
                                                                                ^
0_0_37074618_8368.c:46:94: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
                                                                                              ^
0_0_37074618_8368.c:46:108: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
                                                                                                            ^
0_0_37074618_8368.c:46:122: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
                                                                                                                          ^
0_0_37074618_8368.c:46:136: error: request for member 'a' in something not a structure or union
     trans.a[1][1]=trans.a[1][3]=trans.a[2][1]=trans.a[3][3]=trans.a[3][6]=trans.a[4][4]=trans.a[4][6]=trans.a[5][5]=trans.a[5][6]=trans.a[6][6]=1;
                                                                                                                                        ^
0_0_37074618_8368.c:47:10: error: request for member 'a' in something not a structure or union
     trans.a[1][2]=trans.a[4][5]=2;
          ^
0_0_37074618_8368.c:47:24: error: request for member 'a' in something not a structure or union
     trans.a[1][2]=trans.a[4][5]=2;
                        ^
0_0_37074618_8368.c:48:10: error: request for member 'a' in something not a structure or union
     trans.a[3][4]=trans.a[3][5]=3;
          ^
0_0_37074618_8368.c:48:24: error: request for member 'a' in something not a structure or union
     trans.a[3][4]=trans.a[3][5]=3;
                        ^
0_0_37074618_8368.c:49:6: error: request for member 'a' in something not a structure or union
     f.a[1][1]=31;
      ^
0_0_37074618_8368.c:50:6: error: request for member 'a' in something not a structure or union
     f.a[2][1]=2;
      ^
0_0_37074618_8368.c:51:6: error: request for member 'a' in something not a structure or union
     f.a[3][1]=64;
      ^
0_0_37074618_8368.c:52:6: error: request for member 'a' in something not a structure or union
     f.a[4][1]=16;
      ^
0_0_37074618_8368.c:53:6: error: request for member 'a' in something not a structure or union
     f.a[5][1]=4;
      ^
0_0_37074618_8368.c:54:6: error: request for member 'a' in something not a structure or union
     f.a[6][1]=1;
      ^
0_0_37074618_8368.c:59:26: error: request for member 'a' in something not a structure or union
     printf("%lld\n",trans.a[1][1]%MOD);
                          ^


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-30 00:19:21, Gzip enabled