QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#445831 | #8469. Comedy’s Not Omnipotent | Qiuly | Compile Error | / | / | C++17 | 17.3kb | 2024-06-16 15:26:33 | 2024-06-16 15:26:33 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:19:9: error: ‘gp_hash_table’ does not name a type 19 | gp_hash_table <ull, pair <int, int> > mp; | ^~~~~~~~~~~~~ answer.code:21:9: error: ‘ull’ does not name a type; did you mean ‘ll’? 21 | ull trans (bitset <256> & s) { | ^~~ | ll answer.code: In function ‘int maker::dp(std::bitset<256>)’: answer.code:30:27: error: ‘trans’ was not declared in this scope; did you mean ‘wctrans’? 30 | auto ns = trans (s); | ^~~~~ | wctrans answer.code:31:21: error: ‘mp’ was not declared in this scope; did you mean ‘dp’? 31 | if (mp.find (ns) != mp.end ()) return mp[ns].first; | ^~ | dp answer.code:49:17: error: ‘mp’ was not declared in this scope; did you mean ‘dp’? 49 | mp[ns] = make_pair ( ret, stra ); | ^~ | dp answer.code: In function ‘void maker::build()’: answer.code:58:22: error: ‘ull’ was not declared in this scope; did you mean ‘ll’? 58 | map <ull, int> re_mp; | ^~~ | ll answer.code:58:30: error: template argument 1 is invalid 58 | map <ull, int> re_mp; | ^ answer.code:58:30: error: template argument 3 is invalid answer.code:58:30: error: template argument 4 is invalid answer.code:60:23: error: ‘trans’ was not declared in this scope; did you mean ‘wctrans’? 60 | re_mp[trans (st)] = ++ cnt; | ^~~~~ | wctrans answer.code:72:35: error: ‘mp’ was not declared in this scope; did you mean ‘dp’? 72 | int key = mp[ns].second; | ^~ | dp answer.code:81:45: error: request for member ‘count’ in ‘re_mp’, which is of non-class type ‘int’ 81 | if (! re_mp.count ( trans (nxt_s[i]) )) { | ^~~~~ answer.code: In function ‘void maker::main()’: answer.code:101:45: error: ‘mp’ was not declared in this scope; did you mean ‘dp’? 101 | debug ("mp.size () = %d\n", mp.size ()); | ^~ answer.code:5:37: note: in definition of macro ‘debug’ 5 | #define debug(...) fprintf (stderr, __VA_ARGS__) | ^~~~~~~~~~~