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_36400573_17692.cpp:8:7: error: 'mod1' does not name a type
 const mod1=1e9+7,mod2=1e9+9;
       ^
0_0_36400573_17692.cpp: In function 'int main()':
0_0_36400573_17692.cpp:93:46: error: 'mod1' was not declared in this scope
                 ans1+=(ll)(a[i][j]*qmi(x,j-1,mod1))%mod1; ans1%=mod1;
                                              ^
0_0_36400573_17692.cpp:94:65: error: 'mod2' was not declared in this scope
                 ans2+=(ll)(a[i][j]*qmi(x,j-1,mod1))%mod1; ans2%=mod2;
                                                                 ^


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:43:31, Gzip enabled