Problem bubblesort
User jovan
Submission Time 2025-05-10 21:39:58
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bubblesort.cpp: In function ‘int main()’:
bubblesort.cpp:45:20: error: ‘r’ was not declared in this scope
45 | invCost[l][r] = countInversions(temp, 0, r - l + 1);
| ^