summaryrefslogtreecommitdiff
path: root/test/other/sos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/other/sos.cpp')
-rw-r--r--test/other/sos.cpp4
1 files changed, 2 insertions, 2 deletions
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<ll> sos(const vector<ll>& in) {
}
vector<ll> naive(const vector<ll>& in) {
- vector<ll> res(sz(in));
- for (ll i = 0; i < sz(in); i++) {
+ vector<ll> 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];