QOJ.ac
QOJ
The 2nd Universal Cup Finals is coming! Check out our event page, schedule, and competition rules!
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#231772 | #7616. Jump Graph | Lates | Compile Error | / | / | C++14 | 1.5kb | 2023-10-29 16:23:56 | 2023-10-29 16:23:57 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code: In function ‘int main()’: answer.code:35:15: error: ‘top’ was not declared in this scope 35 | while(top && p[st[top]] < p[i]) -- top; | ^~~ answer.code:35:24: error: ‘st’ was not declared in this scope; did you mean ‘std’? 35 | while(top && p[st[top]] < p[i]) -- top; | ^~ | std answer.code:36:14: error: ‘top’ was not declared in this scope 36 | L[i]=top?st[top]:0; | ^~~ answer.code:36:18: error: ‘st’ was not declared in this scope; did you mean ‘std’? 36 | L[i]=top?st[top]:0; | ^~ | std answer.code:38:7: error: ‘top’ was not declared in this scope 38 | } top=0; | ^~~ answer.code:40:24: error: ‘st’ was not declared in this scope; did you mean ‘std’? 40 | while(top && p[st[top]] < p[i]) -- top; | ^~ | std answer.code:41:18: error: ‘st’ was not declared in this scope; did you mean ‘std’? 41 | R[i]=top?st[top]:n+1; | ^~ | std answer.code:50:9: error: ‘s’ was not declared in this scope 50 | s[L[i]]+=tag[i]; | ^ answer.code:53:27: error: ‘s’ was not declared in this scope 53 | for(int i=1;i<=n;++i) s[i]+=s[i-1]; | ^ answer.code:55:23: error: ‘s’ was not declared in this scope 55 | printf("%d ", s[i]); | ^