lang.cpp: In instantiation of 'double Data<T, Hash, MAX>::operator&(const Data<T, Hash, MAX>&) const [with T = int; Hash = std::hash<int>; int MAX = 100]':
lang.cpp:74:20: required from here
lang.cpp:23:41: error: 'const class __gnu_pbds::gp_hash_table<int, int, std::hash<int>, std::equal_to<int>, __gnu_pbds::direct_mask_range_hashing<>, __gnu_pbds::linear_probe_fn<long unsigned int>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, false, long unsigned int>, false, std::allocator<char> >' has no member named 'count'
23 | ret += magic((double) v / tot - (o.m.count(k) ? (double) o.m.at(k) / o.tot : 0));
| ~~~~^~~~~
lang.cpp:23:65: error: 'const class __gnu_pbds::gp_hash_table<int, int, std::hash<int>, std::equal_to<int>, __gnu_pbds::direct_mask_range_hashing<>, __gnu_pbds::linear_probe_fn<long unsigned int>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, false, long unsigned int>, false, std::allocator<char> >' has no member named 'at'
23 | ret += magic((double) v / tot - (o.m.count(k) ? (double) o.m.at(k) / o.tot : 0));
| ~~~~^~
lang.cpp:26:14: error: 'const class __gnu_pbds::gp_hash_table<int, int, std::hash<int>, std::equal_to<int>, __gnu_pbds::direct_mask_range_hashing<>, __gnu_pbds::linear_probe_fn<long unsigned int>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, false, long unsigned int>, false, std::allocator<char> >' has no member named 'count'
26 | if (not m.count(k)) ret += magic((double) v / o.tot);
| ~~^~~~~
lang.cpp: In instantiation of 'double Data<T, Hash, MAX>::operator&(const Data<T, Hash, MAX>&) const [with T = std::pair<int, int>; Hash = hash2; int MAX = 100]':
lang.cpp:74:38: required from here
lang.cpp:23:41: error: 'const class __gnu_pbds::gp_hash_table<std::pair<int, int>, int, hash2, std::equal_to<std::pair<int, int> >, __gnu_pbds::direct_mask_range_hashing<>, __gnu_pbds::linear_probe_fn<long unsigned int>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, false, long unsigned int>, false, std::allocator<char> >' has no member named 'count'
23 | ret += magic((double) v / tot - (o.m.count(k) ? (double) o.m.at(k) / o.tot : 0));
| ~~~~^~~~~
lang.cpp:23:65: error: 'const class __gnu_pbds::gp_hash_table<std::pair<int, int>, int, hash2, std::equal_to<std::pair<int, int> >, __gnu_pbds::direct_mask_range_hashing<>, __gnu_pbds::linear_probe_fn<long unsigned int>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, false, long unsigned int>, false, std::allocator<char> >' has no member named 'at'
23 | ret += magic((double) v / tot - (o.m.count(k) ? (double) o.m.at(k) / o.tot : 0));
| ~~~~^~
lang.cpp:26:14: error: 'const class __gnu_pbds::gp_hash_table<std::pair<int, int>, int, hash2, std::equal_to<std::pair<int, int> >, __gnu_pbds::direct_mask_range_hashing<>, __gnu_pbds::linear_probe_fn<long unsigned int>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, false, long unsigned int>, false, std::allocator<char> >' has no member named 'count'
26 | if (not m.count(k)) ret += magic((double) v / o.tot);
| ~~^~~~~
lang.cpp: In instantiation of 'double Data<T, Hash, MAX>::operator&(const Data<T, Hash, MAX>&) const [with T = std::array<int, 3>; Hash = hash3; int MAX = 100]':
lang.cpp:74:56: required from here
lang.cpp:23:41: error: 'const class __gnu_pbds::gp_hash_table<std::array<int, 3>, int, hash3, std::equal_to<std::array<int, 3> >, __gnu_pbds::direct_mask_range_hashing<>, __gnu_pbds::linear_probe_fn<long unsigned int>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, false, long unsigned int>, false, std::allocator<char> >' has no member named 'count'
23 | ret += magic((double) v / tot - (o.m.count(k) ? (double) o.m.at(k) / o.tot : 0));
| ~~~~^~~~~
lang.cpp:23:65: error: 'const class __gnu_pbds::gp_hash_table<std::array<int, 3>, int, hash3, std::equal_to<std::array<int, 3> >, __gnu_pbds::direct_mask_range_hashing<>, __gnu_pbds::linear_probe_fn<long unsigned int>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, false, long unsigned int>, false, std::allocator<char> >' has no member named 'at'
23 | ret += magic((double) v / tot - (o.m.count(k) ? (double) o.m.at(k) / o.tot : 0));
| ~~~~^~
lang.cpp:26:14: error: 'const class __gnu_pbds::gp_hash_table<std::array<int, 3>, int, hash3, std::equal_to<std::array<int, 3> >, __gnu_pbds::direct_mask_range_hashing<>, __gnu_pbds::linear_probe_fn<long unsigned int>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, false, long unsigned int>, false, std::allocator<char> >' has no member named 'count'
26 | if (not m.count(k)) ret += magic((double) v / o.tot);
| ~~^~~~~