Problem arrayfind
User PerihelionfromAphelion
Submission Time 2026-08-08 20:53:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int32_t main()’:
arrayfind.cpp:14:10: error: ‘v’ was not declared in this scope
14 | cin >> v[i];
| ^
arrayfind.cpp:34:11: error: ‘mid’ was not declared in this scope
34 | cout << mid << avg;
| ^~~
arrayfind.cpp:34:18: error: ‘avg’ was not declared in this scope
34 | cout << mid << avg;
| ^~~