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_22802551_5016.cpp: In function 'void poww(int (*)[2], int)':
0_0_22802551_5016.cpp:41:23: error: invalid conversion from 'int' to 'int (*)[2]' [-fpermissive]
 if (b&1!=0) mul(a[2][2],d[2][2]);
                       ^
0_0_22802551_5016.cpp:28:6: note: initializing argument 1 of 'void mul(int (*)[2], int (*)[2])'
 void mul(int a[2][2],int b[2][2])
      ^
0_0_22802551_5016.cpp:41:31: error: invalid conversion from 'int' to 'int (*)[2]' [-fpermissive]
 if (b&1!=0) mul(a[2][2],d[2][2]);
                               ^
0_0_22802551_5016.cpp:28:6: note: initializing argument 2 of 'void mul(int (*)[2], int (*)[2])'
 void mul(int a[2][2],int b[2][2])
      ^
0_0_22802551_5016.cpp:42:14: error: cannot convert 'int*' to 'int (*)[2]' for argument '1' to 'void mul(int (*)[2], int (*)[2])'
 mul(d[2],d[2]);
              ^


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-07-05 17:58:33, Gzip enabled