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_32047943_30629.cpp:21:1: error: 'MatrixP' does not name a type
 MatrixP={1,1,0,0,
 ^
0_0_32047943_30629.cpp:29:1: error: 'MatrixI' does not name a type
 MatrixI={1,0,0,0,
 ^
0_0_32047943_30629.cpp: In function 'int Matrixmatrixmul(Matrix, Matrix)':
0_0_32047943_30629.cpp:61:14: error: cannot convert 'Matrix' to 'int' in return
       return c;
              ^
0_0_32047943_30629.cpp: In function 'Matrix quickpow(long long int)':
0_0_32047943_30629.cpp:71:18: error: 'P' was not declared in this scope
       Matrix m = P, b = I;
                  ^
0_0_32047943_30629.cpp:79:17: error: 'b' was not declared in this scope
                 b = matrixmul(b,m);
                 ^
0_0_32047943_30629.cpp:79:34: error: 'matrixmul' was not declared in this scope
                 b = matrixmul(b,m);
                                  ^
0_0_32047943_30629.cpp:83:30: error: 'matrixmul' was not declared in this scope
              m =matrixmul(m,m);
                              ^
0_0_32047943_30629.cpp:87:14: error: 'b' was not declared in this scope
       return b;
              ^
0_0_32047943_30629.cpp: In function 'int main()':
0_0_32047943_30629.cpp:103:1: error: expected primary-expression before '/' token
 /    while(cin>>n>>x>>y)
 ^
0_0_32047943_30629.cpp:103:6: error: expected primary-expression before 'while'
 /    while(cin>>n>>x>>y)
      ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 07:40:56, Gzip enabled