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_36566447_19172.cpp:13:7: error: 'll' does not name a type
 const ll mod = 1e7 + 7;
       ^
0_0_36566447_19172.cpp: In member function 'mat mat::operator*(const mat&)':
0_0_36566447_19172.cpp:37:73: error: 'mod' was not declared in this scope
                     tmp.g[i][j] = (tmp.g[i][j] + g[i][k] * b.g[k][j]) % mod;
                                                                         ^
0_0_36566447_19172.cpp: In function 'int main()':
0_0_36566447_19172.cpp:70:34: error: 'mod' was not declared in this scope
             sum = (sum + t[i]) % mod;
                                  ^
0_0_36566447_19172.cpp:77:100: error: 'mod' was not declared in this scope
         long long m = (ans.g[0][0] * t[n - 2] + ans.g[0][1] * t[n - 1] + ans.g[0][2] * t[n - 2]) % 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-23 01:21:43, Gzip enabled