Problem | sandd |
---|---|
User | mingging1748 |
Submission Time | 2025-01-27 18:42:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sandd.cpp: In function ‘int getPrice(int)’:
sandd.cpp:9:5: error: ‘unordered_map’ was not declared in this scope
9 | unordered_map<int, ll> sca;
| ^~~~~~~~~~~~~
sandd.cpp:9:5: note: suggested alternatives:
In file included from /usr/include/c++/9/unordered_map:47,
from sandd.cpp:2:
/usr/include/c++/9/bits/unordered_map.h:102:11: note: ‘std::unordered_map’
102 | class unordered_map
| ^~~~~~~~~~~~~
In file included from sandd.cpp:2:
/usr/include/c++/9/unordered_map:68:13: note: ‘std::pmr::unordered_map’
68 | using unordered_map
| ^~~~~~~~~~~~~
sandd.cpp:9:19: error: expected primary-expression before ‘int’
9 | unordered_map<int, ll> sca;
| ^~~
sandd.cpp:10:19: error: expected primary-expression before ‘int’
10 | unordered_map<int, ll> dca;
| ^~~
sandd.cpp:16:13: