Problem duckhunt21
User shoryu386
Submission Time 2025-12-05 13:42:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

duckhunt21.cpp: In function ‘int main()’:
duckhunt21.cpp:64:13: error: ‘umap<int, int>’ {aka ‘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<>, __gnu_pbds::hash_standard_resize_policy<__gnu_pbds::hash_exponential_size_policy<>, __gnu_pbds::hash_load_check_resize_trigger<>, true>, false, std::allocator<char> >’} has no member named ‘reserve’
64 | yeytixiang.reserve(10'000'000);
| ^~~~~~~