From 1880ccb6d85c6eb79e724593457877bab431951c Mon Sep 17 00:00:00 2001 From: Gloria Mundi Date: Sat, 16 Nov 2024 21:17:29 +0100 Subject: get rid of all() and sz() --- test/math/inversions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/math/inversions.cpp') 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& 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++; } -- cgit v1.2.3