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_37901027_74.cpp:23:1: error: 'll' does not name a type
 ll mod_1_2 = 1ll * mod1 * mod2;
 ^
0_0_37901027_74.cpp:24:40: error: 'mod_1_2' was not declared in this scope
 int inv1 = inv (mod1,mod2),inv2 = inv (mod_1_2 % mod3,mod3);
                                        ^
0_0_37901027_74.cpp: In member function 'long long int NewInt::get()':
0_0_37901027_74.cpp:44:9: error: 'll' was not declared in this scope
         ll x = 1ll * (B - A + mod2) % mod2 * inv1 % mod2 * mod1 + A;
         ^
0_0_37901027_74.cpp:45:28: error: 'x' was not declared in this scope
         return (1ll * (C - x % mod3 + mod3) % mod3 * inv2 % mod3 * (mod_1_2 % mod) % mod + x) % mod;
                            ^
0_0_37901027_74.cpp:45:69: error: 'mod_1_2' was not declared in this scope
         return (1ll * (C - x % mod3 + mod3) % mod3 * inv2 % mod3 * (mod_1_2 % mod) % mod + x) % mod;
                                                                     ^
0_0_37901027_74.cpp: In function 'int main()':
0_0_37901027_74.cpp:114:5: error: 'll' was not declared in this scope
     ll res=1;
     ^
0_0_37901027_74.cpp:120:35: error: 'res' was not declared in this scope
         P[i]=1ll*A[i+(n-1)].get()*res%mod*quick_pow(c,1ll*i*i%(mod-1),mod)%mod*ifac[i]%mod;
                                   ^


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-22 12:24:32, Gzip enabled