Problem arrayfind
User Jinseo
Submission Time 2024-02-16 10:16:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:9:15: error: invalid types ‘int[int]’ for array subscript
9 | cin >> arr[i];
| ^
arrayfind.cpp:15:14: error: ‘i’ was not declared in this scope
15 | cin >> num[i];
| ^
arrayfind.cpp:24:25: error: ‘Larger’ was not declared in this scope; did you mean ‘larger’?
24 | cout << "Larger: " << Larger << endl;
| ^~~~~~
| larger