Problem inversioncounting
User PrunJuice
Submission Time 2024-12-09 11:27:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

inversioncounting.cpp: In function ‘int main()’:
inversioncounting.cpp:20:13: error: ‘Inversions’ was not declared in this scope; did you mean ‘Inversion’?
20 | if (Inversions[i] == 1) {
| ^~~~~~~~~~
| Inversion
inversioncounting.cpp:21:13: error: ‘a’ was not declared in this scope
21 | a += 1;
| ^
inversioncounting.cpp:23:22: error: ‘a’ was not declared in this scope
23 | count += a;
| ^