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_36600980_27830.cpp: In function 'll qpow(ll, ll)':
0_0_36600980_27830.cpp:11:35: error: 'mod' was not declared in this scope
         if(b & 1) ans = ans * a % mod;
                                   ^
0_0_36600980_27830.cpp:13:21: error: 'mod' was not declared in this scope
         a = a * a % mod;
                     ^
0_0_36600980_27830.cpp: In function 'void update(int, int)':
0_0_36600980_27830.cpp:31:66: error: 'mod' was not declared in this scope
                 A[s][i][j][0] += A[f][i][k][0] * A[f][k][j][0] % mod; ///2^f²½¶¼Ã»Óи½Ä§
                                                                  ^
0_0_36600980_27830.cpp: In function 'void add(int)':
0_0_36600980_27830.cpp:50:62: error: 'mod' was not declared in this scope
                 tmp[i][j][0] += g[i][k][0] * A[f][k][j][0] % mod;
                                                              ^
0_0_36600980_27830.cpp: In function 'void solve()':
0_0_36600980_27830.cpp:95:45: error: 'mod' was not declared in this scope
             A[0][i][j][e[i][j]] = qpow(sum, mod - 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-11-23 08:41:46, Gzip enabled