Problem arrayfind
User Hengweezy
Submission Time 2024-02-04 11:26:28
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:48:14: error: expected ‘;’ before ‘for’
48 | v.reserve(n)
| ^
| ;
49 |
50 | for(int i = 0; i < n; i++){
| ~~~
arrayfind.cpp:50:17: error: ‘i’ was not declared in this scope
50 | for(int i = 0; i < n; i++){
| ^