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/other/sos.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/other/sos.cpp') diff --git a/test/other/sos.cpp b/test/other/sos.cpp index f3a6109..3ab34ea 100644 --- a/test/other/sos.cpp +++ b/test/other/sos.cpp @@ -6,8 +6,8 @@ vector sos(const vector& in) { } vector naive(const vector& in) { - vector res(sz(in)); - for (ll i = 0; i < sz(in); i++) { + vector res(ssize(in)); + for (ll i = 0; i < ssize(in); i++) { for (ll j = 0; j <= i; j++) { if ((i | j) == i) { res[i] += in[j]; -- cgit v1.2.3