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_37901029_908.cpp:23:1: error: 'll' does not name a type
 ll mod_1_2 = 1ll * mod1 * mod2;
 ^
0_0_37901029_908.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_37901029_908.cpp: In member function 'long long int NewInt::get()':
0_0_37901029_908.cpp:44:9: error: 'll' was not declared in this scope
         ll x = 1ll * (B - A + mod2) % mod2 * inv1 % mod2 * mod1 + A;
         ^
0_0_37901029_908.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_37901029_908.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;
                                                                     ^


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:23:01, Gzip enabled