diff options
Diffstat (limited to 'test/math/inversions.cpp')
| -rw-r--r-- | test/math/inversions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/math/inversions.cpp b/test/math/inversions.cpp index bd362eb..fc825e4 100644 --- a/test/math/inversions.cpp +++ b/test/math/inversions.cpp @@ -3,7 +3,7 @@ ll naive(const vector<ll>& v) { ll res = 0; - for (ll i = 0; i < sz(v); i++) { + for (ll i = 0; i < ssize(v); i++) { for (ll j = 0; j < i; j++) { if (v[j] > v[i]) res++; } |
