Problem | books |
---|---|
User | PlayVoltz |
Submission Time | 2024-07-11 12:51:25 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
books.cpp: In function ‘long long int minimum_walk(std::vector<int>, int)’:
books.cpp:13:15: error: ‘p’ was not declared in this scope
13 | int s=S, low=p.size(), high=0;
| ^
books.cpp:23:3: error: ‘high’ was not declared in this scope
23 | high=max(high, i);
| ^~~~
books.cpp:31:4: error: ‘mx’ was not declared in this scope; did you mean ‘m’?
31 | mx=max(mx, c);
| ^~
| m
books.cpp:38:9: error: ‘mx’ was not declared in this scope; did you mean ‘m’?
38 | r[c]=mx;
| ^~
| m
books.cpp:44:18: error: ‘high’ was not declared in this scope
44 | while (low!=cl||high!=cr){
| ^~~~