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_36406755_10670.cpp: In function 'void solve(long long int)':
0_0_36406755_10670.cpp:233:39: error: assignment of read-only location 'multrans.matrix::a[1][0]'
   multrans.a[0][0] = multrans.a[1][0] = 3;
                                       ^
0_0_36406755_10670.cpp:233:20: error: assignment of read-only location 'multrans.matrix::a[0][0]'
   multrans.a[0][0] = multrans.a[1][0] = 3;
                    ^
0_0_36406755_10670.cpp:234:20: error: assignment of read-only location 'multrans.matrix::a[0][1]'
   multrans.a[0][1] = 2;
                    ^
0_0_36406755_10670.cpp:235:20: error: assignment of read-only location 'multrans.matrix::a[1][1]'
   multrans.a[1][1] = MOD - 2;
                    ^
0_0_36406755_10670.cpp:236:37: error: assignment of read-only location 'mulrevr.matrix::a[1][1]'
   mulrevr.a[0][0] = mulrevr.a[1][1] = 0;
                                     ^
0_0_36406755_10670.cpp:236:19: error: assignment of read-only location 'mulrevr.matrix::a[0][0]'
   mulrevr.a[0][0] = mulrevr.a[1][1] = 0;
                   ^
0_0_36406755_10670.cpp:237:37: error: assignment of read-only location 'mulrevr.matrix::a[1][0]'
   mulrevr.a[0][1] = mulrevr.a[1][0] = 1;
                                     ^
0_0_36406755_10670.cpp:237:19: error: assignment of read-only location 'mulrevr.matrix::a[0][1]'
   mulrevr.a[0][1] = mulrevr.a[1][0] = 1;
                   ^


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-26 04:18:25, Gzip enabled