QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#445832 | #8469. Comedy’s Not Omnipotent | Qiuly | Compile Error | / | / | C++17 | 17.4kb | 2024-06-16 15:27:00 | 2024-06-16 15:27:01 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code:21:24: error: ‘ull’ was not declared in this scope; did you mean ‘ll’? 21 | gp_hash_table <ull, pair <int, int> > mp; | ^~~ | ll answer.code:21:45: error: template argument 1 is invalid 21 | gp_hash_table <ull, pair <int, int> > mp; | ^ answer.code:21:45: error: template argument 3 is invalid answer.code:21:45: error: template argument 4 is invalid answer.code:23:9: error: ‘ull’ does not name a type; did you mean ‘ll’? 23 | ull trans (bitset <256> & s) { | ^~~ | ll answer.code: In function ‘int maker::dp(std::bitset<256>)’: answer.code:32:27: error: ‘trans’ was not declared in this scope; did you mean ‘wctrans’? 32 | auto ns = trans (s); | ^~~~~ | wctrans answer.code:33:24: error: request for member ‘find’ in ‘maker::mp’, which is of non-class type ‘int’ 33 | if (mp.find (ns) != mp.end ()) return mp[ns].first; | ^~~~ answer.code:33:40: error: request for member ‘end’ in ‘maker::mp’, which is of non-class type ‘int’ 33 | if (mp.find (ns) != mp.end ()) return mp[ns].first; | ^~~ answer.code: In function ‘void maker::build()’: answer.code:60:22: error: ‘ull’ was not declared in this scope; did you mean ‘ll’? 60 | map <ull, int> re_mp; | ^~~ | ll answer.code:60:30: error: template argument 1 is invalid 60 | map <ull, int> re_mp; | ^ answer.code:60:30: error: template argument 3 is invalid answer.code:60:30: error: template argument 4 is invalid answer.code:62:23: error: ‘trans’ was not declared in this scope; did you mean ‘wctrans’? 62 | re_mp[trans (st)] = ++ cnt; | ^~~~~ | wctrans answer.code:83:45: error: request for member ‘count’ in ‘re_mp’, which is of non-class type ‘int’ 83 | if (! re_mp.count ( trans (nxt_s[i]) )) { | ^~~~~ answer.code: In function ‘void maker::main()’: answer.code:103:48: error: request for member ‘size’ in ‘maker::mp’, which is of non-class type ‘int’ 103 | debug ("mp.size () = %d\n", mp.size ()); | ^~~~ answer.code:7:37: note: in definition of macro ‘debug’ 7 | #define debug(...) fprintf (stderr, __VA_ARGS__) | ^~~~~~~~~~~