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_37987346_5813.cpp: In member function 'mat mat::operator-(const mat&) const':
0_0_37987346_5813.cpp:26:49: error: 'Mod' was not declared in this scope
                 res.a[i][j]=(a[i][j]-T.a[i][j])%Mod;
                                                 ^
0_0_37987346_5813.cpp: In member function 'mat mat::operator+(const mat&) const':
0_0_37987346_5813.cpp:37:45: error: 'Mod' was not declared in this scope
             res.a[i][j]=(a[i][j]+T.a[i][j])%Mod;
                                             ^
0_0_37987346_5813.cpp: In member function 'mat mat::operator*(const mat&) const':
0_0_37987346_5813.cpp:53:34: error: 'Mod' was not declared in this scope
                     res.a[i][j]%=Mod;
                                  ^
0_0_37987346_5813.cpp: In member function 'mat mat::operator^(ll) const':
0_0_37987346_5813.cpp:66:33: error: 'Mod' was not declared in this scope
             bas.a[i][j]=a[i][j]%Mod;
                                 ^
0_0_37987346_5813.cpp: In function 'int main()':
0_0_37987346_5813.cpp:101:39: error: 'Mod' was not declared in this scope
             printf("%lld\n",d.a[0][0]%Mod);
                                       ^


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-29 21:43:32, Gzip enabled