| Problem | inversioncounting |
|---|---|
| User | WANCH5789W |
| Submission Time | 2026-04-06 20:22:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
inversioncounting.cpp: In function ‘int main()’:
inversioncounting.cpp:10:24: error: expected ‘)’ before ‘;’ token
10 | vector <long long> a(n;
| ~ ^
| )
inversioncounting.cpp:16:19: error: expected ‘;’ before ‘<’ token
16 | for (int x = 0, x < y; x++){
| ^~
| ;
inversioncounting.cpp:16:20: error: expected primary-expression before ‘<’ token
16 | for (int x = 0, x < y; x++){
| ^
inversioncounting.cpp:22:1: error: expected ‘}’ at end of input
22 | }
| ^
inversioncounting.cpp:7:13: note: to match this ‘{’
7 | int main () {
| ^