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_30131271_6628.cpp: In function 'LL get_power(LL, LL, LL, PII)':
0_0_30131271_6628.cpp:129:30: error: 'mul' was not declared in this scope
             x = mul(x, now, p);
                              ^
0_0_30131271_6628.cpp:133:30: error: 'mul' was not declared in this scope
         now = mul(now, now, p);
                              ^
0_0_30131271_6628.cpp:138:30: error: 'mul' was not declared in this scope
             x = mul(x, now, p);
                              ^
0_0_30131271_6628.cpp:145:39: error: 'mul' was not declared in this scope
         now = mul(now, mul(now, now, p), p);
                                       ^
0_0_30131271_6628.cpp:145:43: error: 'mul' was not declared in this scope
         now = mul(now, mul(now, now, p), p);
                                           ^
0_0_30131271_6628.cpp:145:43: error: redeclaration of '<typeprefixerror>mul'
0_0_30131271_6628.cpp:145:39: note: previous declaration '<typeprefixerror>mul'
         now = mul(now, mul(now, now, p), p);
                                       ^
0_0_30131271_6628.cpp: In function 'int main()':
0_0_30131271_6628.cpp:182:58: error: 'mul' was not declared in this scope
                 LL res = mul(gg.x, b / gg.z, (p - 1)/gg.z);
                                                          ^


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-06-26 06:41:48, Gzip enabled