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;
^
|