Problem watching
User PlayVoltz
Submission Time 2023-08-31 07:34:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

watching.cpp: In function ‘int main()’:
watching.cpp:36:2: error: ‘big’ was not declared in this scope; did you mean ‘bigc’?
36 | big.resize(n);
| ^~~
| bigc
watching.cpp:37:2: error: ‘small’ was not declared in this scope; did you mean ‘smallc’?
37 | small.resize(n);
| ^~~~~
| smallc
watching.cpp:43:67: error: ‘w’ was not declared in this scope
43 | smallc[i] = lower_bound(vect.begin(), vect.end(), vect[i]+w)-vect.begin();
| ^
watching.cpp:46:65: error: ‘w’ was not declared in this scope
46 | bigc[i] = lower_bound(vect.begin(), vect.end(), vect[i]+w+w)-vect.begin();
| ^