Problem arrayfind
User PDPrenesh
Submission Time 2026-06-25 15:53:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:8:18: error: ‘n’ was not declared in this scope
8 | for(int i; i<n; i++){
| ^
arrayfind.cpp:17:18: error: ‘n’ was not declared in this scope
17 | higher = n - higher;
| ^