Problem | ghostrule |
---|---|
User | Xiaoyang |
Submission Time | 2023-12-30 14:17:41 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
ghostrule.cpp:23:4: error: redefinition of ‘ll n’
23 | ll n,q;
| ^
ghostrule.cpp:19:4: note: ‘ll n’ previously declared here
19 | ll n,x,k,q;
| ^
ghostrule.cpp:23:6: error: redefinition of ‘ll q’
23 | ll n,q;
| ^
ghostrule.cpp:19:10: note: ‘ll q’ previously declared here
19 | ll n,x,k,q;
| ^
ghostrule.cpp: In function ‘int main()’:
ghostrule.cpp:106:16: error: ‘pre’ was not declared in this scope
106 | update(1,1,n,pre[tmp],pre[tmp],1);
| ^~~
ghostrule.cpp:114:12: error: ‘u’ was not declared in this scope
114 | while(tp[u]!=tp[v]){
| ^
ghostrule.cpp:114:19: error: ‘v’ was not declared in this scope
114 | while(tp[u]!=tp[v]){
| ^
ghostrule.cpp:119:9: error: ‘u’ was not declared in this scope
119 | if(id[u]>id[v])swap(u,v); //same chain
| ^
ghostrule.cpp:119:15: err