QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#445832#8469. Comedy’s Not OmnipotentQiulyCompile Error//C++1717.4kb2024-06-16 15:27:002024-06-16 15:27:01

详细

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__)
      |                                     ^~~~~~~~~~~