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_30048344_2337.cpp: In function 'matrix pow1(matrix, matrix)':
0_0_30048344_2337.cpp:19:54: error: 'mat' was not declared in this scope
                 c.mat[i][j]=(c.mat[i][j]+a.mat[i][k]*mat.b[k][j])%mod;
                                                      ^
0_0_30048344_2337.cpp: At global scope:
0_0_30048344_2337.cpp:25:1: error: 'mattix' does not name a type
 mattix cheng(martix a,ll y)
 ^
0_0_30048344_2337.cpp: In function 'int main()':
0_0_30048344_2337.cpp:68:26: error: 'cheng' was not declared in this scope
         ma = cheng(ma,n-2); //算指数和直接幂有点不同
                          ^
0_0_30048344_2337.cpp:69:9: error: 'LL' was not declared in this scope
         LL tmp = ma.mat[0][0]*bb + ma.mat[0][2]; //取出指数
         ^
0_0_30048344_2337.cpp:70:12: error: expected ';' before 'ans'
         LL ans = quick_pow(aa,tmp);
            ^
0_0_30048344_2337.cpp:71:25: error: 'ans' was not declared in this scope
         printf("%lld\n",ans);
                         ^


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-27 00:32:23, Gzip enabled