Problem arrayfind
User YongXin
Submission Time 2023-06-11 11:19:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int main()’:
arrayfind.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i=0;i<l;++i) cin>a[i];
| ^
arrayfind.cpp:9:7: error: ‘i’ was not declared in this scope
9 | for (i=0;i<q;++i){
| ^
arrayfind.cpp:13:8: error: ‘j’ was not declared in this scope
13 | for (j=0;j<l;++j){
| ^