QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#872465 | #8618. Have You Seen This Subarray? | ucup-team5064# | Compile Error | / | / | C++20 | 7.4kb | 2025-01-26 01:52:43 | 2025-01-26 01:52:43 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:35:9: error: ‘unordered_map’ does not name a type 35 | unordered_map<int,int> to; | ^~~~~~~~~~~~~ answer.code: In member function ‘int ACunfixed::add(std::vector<int>)’: answer.code:43:23: error: ‘__gnu_cxx::__alloc_traits<std::allocator<ACunfixed::node>, ACunfixed::node>::value_type’ {aka ‘struct ACunfixed::node’} has no member named ‘to’ 43 | if (!d[v].to.count(c)) { | ^~ answer.code:44:22: error: ‘__gnu_cxx::__alloc_traits<std::allocator<ACunfixed::node>, ACunfixed::node>::value_type’ {aka ‘struct ACunfixed::node’} has no member named ‘to’ 44 | d[v].to[c] = d.size(); | ^~ answer.code:47:22: error: ‘__gnu_cxx::__alloc_traits<std::allocator<ACunfixed::node>, ACunfixed::node>::value_type’ {aka ‘struct ACunfixed::node’} has no member named ‘to’ 47 | v = d[v].to[c]; | ^~ answer.code: In member function ‘int ACunfixed::nex(int, int)’: answer.code:53:33: error: ‘__gnu_cxx::__alloc_traits<std::allocator<ACunfixed::node>, ACunfixed::node>::value_type’ {aka ‘struct ACunfixed::node’} has no member named ‘to’ 53 | while (j != -1 && !d[j].to.count(c)) j = d[j].link; | ^~ answer.code:54:35: error: ‘__gnu_cxx::__alloc_traits<std::allocator<ACunfixed::node>, ACunfixed::node>::value_type’ {aka ‘struct ACunfixed::node’} has no member named ‘to’ 54 | return j == -1 ? 0 : d[j].to[c]; | ^~ answer.code: In member function ‘void ACunfixed::init()’: answer.code:61:33: error: ‘__gnu_cxx::__alloc_traits<std::allocator<ACunfixed::node>, ACunfixed::node>::value_type’ {aka ‘struct ACunfixed::node’} has no member named ‘to’ 61 | for (auto it : d[v].to) { | ^~