QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#836462 | #9922. Mah-jong | ucup-team3556# | Compile Error | / | / | C++20 | 1.8kb | 2024-12-28 20:57:04 | 2024-12-28 20:57:05 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void solve()’: answer.code:58:13: error: ‘unordered_map’ was not declared in this scope 58 | unordered_map<int, int> mp; | ^~~~~~~~~~~~~ answer.code:6:1: note: ‘std::unordered_map’ is defined in header ‘<unordered_map>’; did you forget to ‘#include <unordered_map>’? 5 | #include <map> +++ |+#include <unordered_map> 6 | using namespace std; answer.code:58:27: error: expected primary-expression before ‘int’ 58 | unordered_map<int, int> mp; | ^~~ answer.code:64:39: error: ‘mp’ was not declared in this scope 64 | if(r2 - l > 50 && mp[r2] == 0) | ^~