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_18528865_4931.cpp: In function 'int main()':
0_0_18528865_4931.cpp:127:12: error: 'K' was not declared in this scope
     for(gg[K]=pow(G,(P-1)/N),ng[K]=pow(gg[K],P-2),i=K-1;~i;i--)
            ^
0_0_18528865_4931.cpp:127:51: error: 'i' was not declared in this scope
     for(gg[K]=pow(G,(P-1)/N),ng[K]=pow(gg[K],P-2),i=K-1;~i;i--)
                                                   ^
0_0_18528865_4931.cpp:128:14: error: 'll' was not declared in this scope
       gg[i]=(ll)gg[i+1]*gg[i+1]%P,ng[i]=(ll)ng[i+1]*ng[i+1]%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-09-29 20:25:04, Gzip enabled