Problem | replacingpavement |
---|---|
User | user123 |
Submission Time | 2023-12-30 17:39:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
replacingpavement.cpp:16:5: error: ‘ll’ does not name a type
16 | ll st[N][L], lg[N];
| ^~
replacingpavement.cpp:31:5: error: ‘ll’ does not name a type
31 | ll query(int l, int r)
| ^~
replacingpavement.cpp: In constructor ‘node::node()’:
replacingpavement.cpp:20:34: error: ‘lg’ was not declared in this scope
20 | for (int a=2; a<=n; a++) lg[a]=lg[a>>1]+1;
| ^~
replacingpavement.cpp:21:33: error: ‘st’ was not declared in this scope; did you mean ‘s’?
21 | for (int a=0; a<n; a++) st[a][0]=s[a];
| ^~
| s
replacingpavement.cpp:27:17: error: ‘st’ was not declared in this scope; did you mean ‘s’?
27 | st[a][b]=max(st[a][b-1], st[a+(1<<(b-1))][b-1]);
| ^~
| s
replacingpavement.cpp: In functi