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_18084181_32382.cpp: In function 'int main()':
0_0_18084181_32382.cpp:154:30: error: expected primary-expression before ';' token
         two[i] = two[i-1]*2%P;
                              ^
0_0_18084181_32382.cpp:155:30: error: expected primary-expression before ';' token
         fac[i] = fac[i-1]*i%P;
                              ^
0_0_18084181_32382.cpp:156:36: error: expected primary-expression before '-' token
         inv[i] = inv[i-1]*quick(i,P-2)%P;
                                    ^
0_0_18084181_32382.cpp:156:38: error: 'quick' was not declared in this scope
         inv[i] = inv[i-1]*quick(i,P-2)%P;
                                      ^
0_0_18084181_32382.cpp:156:41: error: expected primary-expression before ';' token
         inv[i] = inv[i-1]*quick(i,P-2)%P;
                                         ^


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-27 00:11:54, Gzip enabled