Problem | watching |
---|---|
User | PlayVoltz |
Submission Time | 2023-08-31 07:33:35 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
watching.cpp: In function ‘int watching(int, int, int)’:
watching.cpp:26:34: error: invalid types ‘int[int]’ for array subscript
26 | usesmall = watching(small[index], small-1, w);
| ^
watching.cpp: In function ‘int main()’:
watching.cpp:43:66: error: ‘w’ was not declared in this scope
43 | small[i] = lower_bound(vect.begin(), vect.end(), vect[i]+w)-vect.begin();
| ^
watching.cpp:46:64: error: ‘w’ was not declared in this scope
46 | big[i] = lower_bound(vect.begin(), vect.end(), vect[i]+w+w)-vect.begin();
| ^