Problem | swapsort |
---|---|
User | RyanGao |
Submission Time | 2022-12-30 09:41:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swapsort.cpp: In function ‘int main()’:
swapsort.cpp:43:3: error: ‘lengthToCompare’ was not declared in this scope
43 | lengthToCompare = max(lengthToCompare, max(leftPosition, rightPosition));
| ^~~~~~~~~~~~~~~