Problem arrayfind
User nothing
Submission Time 2023-07-06 23:05:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘void FindCount(int*, int, int, int, int, int&, int&)’:
arrayfind.cpp:71:47: error: ‘larger’ was not declared in this scope
71 | FindCount(arr, start, mid, n, val, smaller, larger);
| ^~~~~~
arrayfind.cpp:75:45: error: ‘larger’ was not declared in this scope
75 | FindCount(arr, mid, end, n, val, smaller, larger);
| ^~~~~~
arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:97:31: error: ‘smaller’ was not declared in this scope
97 | FindCount(arr, 0, N - 1, N, smaller, bigger);
| ^~~~~~~
arrayfind.cpp:97:40: error: ‘bigger’ was not declared in this scope
97 | FindCount(arr, 0, N - 1, N, smaller, bigger);
| ^~~~~~