Problem arrayfind
User eliasxyz
Submission Time 2025-05-29 12:27:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:9:6: error: ‘i’ was not declared in this scope
9 | for(i=0;i<N;i++){
| ^
arrayfind.cpp:17:8: error: ‘i’ was not declared in this scope
17 | while(i=0;i<Q;i++){
| ^
arrayfind.cpp:17:11: error: expected ‘)’ before ‘;’ token
17 | while(i=0;i<Q;i++){
| ~ ^
| )
arrayfind.cpp:17:12: error: ‘i’ was not declared in this scope
17 | while(i=0;i<Q;i++){
| ^