QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#646972 | #7686. The Phantom Menace | ucup-team4543 | Compile Error | / | / | C++23 | 3.1kb | 2024-10-17 10:40:27 | 2024-10-17 10:40:28 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
詳細信息
answer.code: In member function ‘void HASH::init(std::string&)’: answer.code:12:9: error: ‘h1’ was not declared in this scope; did you mean ‘y1’? 12 | h1.resize(m+1); | ^~ | y1 answer.code:13:9: error: ‘h2’ was not declared in this scope; did you mean ‘p2’? 13 | h2.resize(m+1); | ^~ | p2 answer.code: In member function ‘long long int HASH::get1(long long int, long long int)’: answer.code:21:36: error: ‘h1’ was not declared in this scope; did you mean ‘y1’? 21 | int get1(int l,int r) {return (h1[r]-h1[l-1]*p1[r-l+1]%mod1+mod1)%mod1;} | ^~ | y1 answer.code: In member function ‘long long int HASH::get2(long long int, long long int)’: answer.code:22:36: error: ‘h2’ was not declared in this scope; did you mean ‘p2’? 22 | int get2(int l,int r) {return (h2[r]-h2[l-1]*p2[r-l+1]%mod2+mod2)%mod2;} | ^~ | p2