0_0_38647989_12472.cpp: In function '__int128 go(__int128, __int128, __int128, __int128, __int128, __int128)':
0_0_38647989_12472.cpp:32:29: error: 'I' was not declared in this scope
for (int i = 0; i < id; I++)
^
0_0_38647989_12472.cpp: In function '__int128 CRT(__int128*, __int128*, __int128)':
0_0_38647989_12472.cpp:71:23: error: 'I' was not declared in this scope
M = M / d * m[I];
^
0_0_38647989_12472.cpp: In function '__int128 find_smallest_primitive_root(__int128, const std::map<__int128, __int128>&)':
0_0_38647989_12472.cpp:79:36: error: use of deleted function 'std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = __int128; _Tp = __int128; _Hash = std::hash<__int128>; _Pred = std::equal_to<__int128>; _Alloc = std::allocator<std::pair<const __int128, __int128> >]'
static unordered_map<int, int> ans;
^~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/unordered_map:47,
from 0_0_38647989_12472.cpp:7:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/unordered_map.h:141:7: note: 'std::unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map() [with _Key = __int128; _Tp = __int128; _Hash = std::hash<__int128>; _Pred = std::equal_to<__int128>; _Alloc = std::allocator<std::pair<const __int128, __int128> >]' is implicitly deleted because the default definition would be ill-formed:
unordered_map() = default;
^~~~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/unordered_map.h:141:7: error: use of deleted function 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_Hashtable() [with _Key = __int128; _Value = std::pair<const __int128, __int128>; _Alloc = std::allocator<std::pair<const __int128, __int128> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<__int128>; _H1 = std::hash<__int128>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, false, true>]'
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/unordered_map:46,
from 0_0_38647989_12472.cpp:7:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable.h:408:7: note: 'std::_Hashtable<_Key, _Value, _Alloc, _ExtractKey, _Equal, _H1, _H2, _Hash, _RehashPolicy, _Traits>::_Hashtable() [with _Key = __int128; _Value = std::pair<const __int128, __int128>; _Alloc = std::allocator<std::pair<const __int128, __int128> >; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<__int128>; _H1 = std::hash<__int128>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _RehashPolicy = std::__detail::_Prime_rehash_policy; _Traits = std::__detail::_Hashtable_traits<true, false, true>]' is implicitly deleted because the default definition would be ill-formed:
_Hashtable() = default;
^~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable.h:408:7: error: use of deleted function 'std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::_Hashtable_base() [with _Key = __int128; _Value = std::pair<const __int128, __int128>; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<__int128>; _H1 = std::hash<__int128>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits<true, false, true>]'
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable.h:35,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/unordered_map:46,
from 0_0_38647989_12472.cpp:7:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable_policy.h:1832:5: note: 'std::__detail::_Hashtable_base<_Key, _Value, _ExtractKey, _Equal, _H1, _H2, _Hash, _Traits>::_Hashtable_base() [with _Key = __int128; _Value = std::pair<const __int128, __int128>; _ExtractKey = std::__detail::_Select1st; _Equal = std::equal_to<__int128>; _H1 = std::hash<__int128>; _H2 = std::__detail::_Mod_range_hashing; _Hash = std::__detail::_Default_ranged_hash; _Traits = std::__detail::_Hashtable_traits<true, false, true>]' is implicitly deleted because the default definition would be ill-formed:
_Hashtable_base() = default;
^~~~~~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable_policy.h:1832:5: error: use of deleted function 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_Hash_code_base() [with _Key = __int128; _Value = std::pair<const __int128, __int128>; _ExtractKey = std::__detail::_Select1st; _H1 = std::hash<__int128>; _H2 = std::__detail::_Mod_range_hashing]'
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable_policy.h:1383:7: note: 'std::__detail::_Hash_code_base<_Key, _Value, _ExtractKey, _H1, _H2, std::__detail::_Default_ranged_hash, true>::_Hash_code_base() [with _Key = __int128; _Value = std::pair<const __int128, __int128>; _ExtractKey = std::__detail::_Select1st; _H1 = std::hash<__int128>; _H2 = std::__detail::_Mod_range_hashing]' is implicitly deleted because the default definition would be ill-formed:
_Hash_code_base() = default;
^~~~~~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable_policy.h:1383:7: error: use of deleted function 'std::__detail::_Hashtable_ebo_helper<_Nm, _Tp, true>::_Hashtable_ebo_helper() [with int _Nm = 1; _Tp = std::hash<__int128>]'
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable_policy.h:1106:7: note: 'std::__detail::_Hashtable_ebo_helper<_Nm, _Tp, true>::_Hashtable_ebo_helper() [with int _Nm = 1; _Tp = std::hash<__int128>]' is implicitly deleted because the default definition would be ill-formed:
_Hashtable_ebo_helper() = default;
^~~~~~~~~~~~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable_policy.h:1106:7: error: use of deleted function 'std::hash<__int128>::hash()'
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/string_view:43,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/basic_string.h:48,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/string:52,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/locale_classes.h:40,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/ios_base.h:41,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:42,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/iostream:39,
from 0_0_38647989_12472.cpp:5:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/functional_hash.h:101:12: note: 'std::hash<__int128>::hash()' is implicitly deleted because the default definition would be ill-formed:
struct hash : __hash_enum<_Tp>
^~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/functional_hash.h:101:12: error: no matching function for call to 'std::__hash_enum<__int128, false>::__hash_enum()'
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/functional_hash.h:82:7: note: candidate: 'std::__hash_enum<_Tp, <anonymous> >::__hash_enum(std::__hash_enum<_Tp, <anonymous> >&&) [with _Tp = __int128; bool <anonymous> = false]'
__hash_enum(__hash_enum&&);
^~~~~~~~~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/functional_hash.h:82:7: note: candidate expects 1 argument, 0 provided
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/functional_hash.h:101:12: error: 'std::__hash_enum<_Tp, <anonymous> >::~__hash_enum() [with _Tp = __int128; bool <anonymous> = false]' is private within this context
struct hash : __hash_enum<_Tp>
^~~~
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/functional_hash.h:83:7: note: declared private here
~__hash_enum();
^
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable.h:35,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/unordered_map:46,
from 0_0_38647989_12472.cpp:7:
gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/hashtable_policy.h:1106:7: error: use of deleted function 'std::hash<__int128>::~hash()'
_Hashtable_ebo_helper() = default;
^~~~~~~~~~~~~~~~~~~~~
In file included from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/string_view:43,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/basic_string.h:48,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/string:52,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/locale_classes.h:40,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/bits/ios_base.h:41,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ios:42,
from gcc-8.5.0/lib/gcc/x86_64-w64-mingw32/8.5.0/include/c++/ostream:38,
from
|