Problem arrayfind
User nothing
Submission Time 2023-07-06 23:02:10
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:63:3: error: ‘larger’ was not declared in this scope
63 | larger = mid;
| ^~~~~~
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);
| ^~~~~~