Problem | lemonade |
---|---|
User | jmuzhen |
Submission Time | 2024-12-14 09:19:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lemonade.cpp: In function ‘int dp_f(int, int, std::vector<Brian>&, std::vector<std::unordered_map<int, int> >&)’:
lemonade.cpp:12:15: error: ‘__gnu_cxx::__alloc_traits<std::allocator<std::unordered_map<int, int> >, std::unordered_map<int, int> >::value_type’ {aka ‘class std::unordered_map<int, int>’} has no member named ‘contains’
12 | if (memo[i].contains(j)) return memo[i][j];
| ^~~~~~~~