Problem arrayfind
User fanqie
Submission Time 2023-11-25 22:44:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

arrayfind.cpp: In function ‘int32_t main()’:
arrayfind.cpp:14:28: error: expected ‘)’ before ‘;’ token
14 | for (int i=0; int x=0; x<L; i<Q; i++; x++){
| ~ ^
| )
arrayfind.cpp:14:30: error: ‘i’ was not declared in this scope
14 | for (int i=0; int x=0; x<L; i<Q; i++; x++){
| ^
arrayfind.cpp:14:40: error: ‘x’ was not declared in this scope
14 | for (int i=0; int x=0; x<L; i<Q; i++; x++){
| ^
arrayfind.cpp:22:21: error: expected ‘;’ before ‘C’
22 | }cout << "smaller:" C[Q] << "Greater:" D[Q];
| ^~
| ;