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_39532819_27348.cpp: In function 'void ksm(long long int (*)[6], int)':
0_0_39532819_27348.cpp:24:28: error: cannot convert 'int (*)[6]' to 'long long int (*)[6]'
   24 |                 if(b&1)mul(c,a);
      |                            ^
      |                            |
      |                            int (*)[6]
0_0_39532819_27348.cpp:9:13: note:   initializing argument 1 of 'void mul(long long int (*)[6], long long int (*)[6])'
    9 | void mul(ll a[][6],ll b[][6]){
      |             ^
0_0_39532819_27348.cpp: In function 'void solve()':
0_0_39532819_27348.cpp:45:13: error: cannot convert 'int (*)[6]' to 'long long int (*)[6]'
   45 |         ksm(a,n-2);
      |             ^
      |             |
      |             int (*)[6]
0_0_39532819_27348.cpp:20:13: note:   initializing argument 1 of 'void ksm(long long int (*)[6], int)'
   20 | void ksm(ll a[][6],int b){
      |             ^


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-23 07:31:47, Gzip enabled