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_30522115_2644.cpp: In member function 'matrix matrix::operator*(const matrix&) const':
0_0_30522115_2644.cpp:29:87: error: 'ep' was not declared in this scope
                             res.mat[i][j]=(res.mat[i][j]+(this->mat[i][k]*b.mat[k][j]%ep)%ep;
                                                                                       ^
0_0_30522115_2644.cpp:29:93: error: expected ')' before ';' token
                             res.mat[i][j]=(res.mat[i][j]+(this->mat[i][k]*b.mat[k][j]%ep)%ep;
                                                                                             ^
0_0_30522115_2644.cpp:34:39: error: 'ep' was not declared in this scope
                 if((this->mat[1][1])>=ep)
                                       ^
0_0_30522115_2644.cpp: In function 'void solve()':
0_0_30522115_2644.cpp:99:17: error: 'ep' was not declared in this scope
             u=u%ep+ep;
                 ^
0_0_30522115_2644.cpp:110:17: error: 'ep' was not declared in this scope
             u=u%ep+ep;
                 ^
0_0_30522115_2644.cpp: In function 'int main()':
0_0_30522115_2644.cpp:129:9: error: 'ep' was not declared in this scope
         ep=euler(p);//printf("ep=%d\n",ep);
         ^


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 04:28:46, Gzip enabled