| Problem | inversions |
|---|---|
| User | burningout |
| Submission Time | 2025-03-19 02:07:33 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
inversions.cpp: In function ‘int main()’:
inversions.cpp:12:14: error: invalid types ‘int[int]’ for array subscript
12 | cin >> a[i] >> " ";
| ^
inversions.cpp:16:22: error: ‘n’ was not declared in this scope
16 | for (int i = 0; i < n; i++){
| ^
inversions.cpp:18:8: error: ‘a’ was not declared in this scope
18 | if (a[i] >= a[j])
| ^
inversions.cpp:22:15: error: expected ‘}’ at end of input
22 | cout << count;
| ^
inversions.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^