QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#557605 | #8668. 回文路径 | Huluobo | Compile Error | / | / | C++14 | 3.5kb | 2024-09-11 10:29:11 | 2024-09-11 10:29:12 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘void init()’: answer.code:36:24: error: ‘n’ was not declared in this scope 36 | for(int i=1;i<=n;i++) h1[i]=h1[i-1]*base+(s[i-1]-'a'); | ^ answer.code:36:51: error: ‘s’ was not declared in this scope 36 | for(int i=1;i<=n;i++) h1[i]=h1[i-1]*base+(s[i-1]-'a'); | ^ answer.code:37:19: error: ‘n’ was not declared in this scope 37 | for(int i=n;i>=1;i--) h2[i]=h2[i+1]*base+(s[i-1]-'a'); | ^ answer.code:37:51: error: ‘s’ was not declared in this scope 37 | for(int i=n;i>=1;i--) h2[i]=h2[i+1]*base+(s[i-1]-'a'); | ^ answer.code:38:24: error: ‘n’ was not declared in this scope 38 | for(int i=1;i<=n;i++) h3[i]=h3[i-1]*base+(s2[i-1]-'a'); | ^ answer.code:38:51: error: ‘s2’ was not declared in this scope; did you mean ‘h2’? 38 | for(int i=1;i<=n;i++) h3[i]=h3[i-1]*base+(s2[i-1]-'a'); | ^~ | h2 answer.code:39:19: error: ‘n’ was not declared in this scope 39 | for(int i=n;i>=1;i--) h4[i]=h4[i+1]*base+(s2[i-1]-'a'); | ^ answer.code:39:51: error: ‘s2’ was not declared in this scope; did you mean ‘h2’? 39 | for(int i=n;i>=1;i--) h4[i]=h4[i+1]*base+(s2[i-1]-'a'); | ^~ | h2