Problem arrayfind
User Ant1234567890
Submission Time 2026-11-20 18:14:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:5:8: error: expected ‘;’ before ‘i’
5 | cin>>L
| ^
| ;
6 | i=L;
| ~
arrayfind.cpp:8:2: error: expected initializer before ‘while’
8 | while(i){
| ^~~~~
arrayfind.cpp:13:8: error: expected ‘;’ before ‘u’
13 | cin>>Q
| ^
| ;
14 | u=Q
| ~