QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#202852 | #7406. Longest Lyndon Prefix | GuanYunchang | Compile Error | / | / | C++20 | 3.1kb | 2023-10-06 13:46:52 | 2023-10-06 13:46:53 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:59:12: error: ‘N’ was not declared in this scope 59 | int mi[25][N]; | ^ answer.code: In function ‘void build(int)’: answer.code:62:26: error: ‘mi’ was not declared in this scope; did you mean ‘i’? 62 | for(int i=1;i<=n;i++)mi[0][i]=height[i]; | ^~ | i answer.code:67:13: error: ‘mi’ was not declared in this scope; did you mean ‘i’? 67 | mi[j][i]=min(mi[j-1][i],mi[j-1][i+(1<<(j-1))]); | ^~ | i answer.code: In function ‘int query(int, int)’: answer.code:74:16: error: ‘mi’ was not declared in this scope; did you mean ‘m’? 74 | return min(mi[k][l],mi[k][r-(1<<k)+1]); | ^~ | m answer.code: In function ‘void solve()’: answer.code:100:8: error: request for member ‘init’ in ‘sa’, which is of non-class type ‘int [100005]’ 100 | sa.init(s); | ^~~~ answer.code:101:8: error: request for member ‘build’ in ‘sa’, which is of non-class type ‘int [100005]’ 101 | sa.build(); | ^~~~~ answer.code:103:26: error: ‘nxt’ was not declared in this scope 103 | for(int i=1;i<=n;i++)nxt[i]=1; | ^~~ answer.code:110:30: error: ‘nxt’ was not declared in this scope 110 | if(cmp(i,j-1,j,j+nxt[j]-1)<0) | ^~~ answer.code:119:9: error: ‘nxt’ was not declared in this scope 119 | nxt[i]=j-i; | ^~~ answer.code:123:15: error: ‘nxt’ was not declared in this scope 123 | cout<<nxt[i]<<" \n"[i==n]; | ^~~