summaryrefslogtreecommitdiff
path: root/other/sos.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'other/sos.cpp')
-rw-r--r--other/sos.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/other/sos.cpp b/other/sos.cpp
index 0fe5dc0..01bc44c 100644
--- a/other/sos.cpp
+++ b/other/sos.cpp
@@ -2,5 +2,5 @@ vector<ll> res(in);
for (int i = 1; i < sz(res); i *= 2) {
for (int mask = 0; mask < sz(res); mask++){
if (mask & i) {
- F[mask] += F[mask ^ i];
+ res[mask] += res[mask ^ i];
}}}