Problem arrayfind
User lxmine
Submission Time 2026-07-18 09:41:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:17:18: error: ‘l’ was not declared in this scope
17 | while (r<l){
| ^
arrayfind.cpp:25:28: error: ‘l’ was not declared in this scope
25 | cout<<"Smaller: "<<l<<", "<<"Greater: "<<r<<endl;
| ^