We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fca121d commit 73f782bCopy full SHA for 73f782b
solution/1800-1899/1863.Sum of All Subset XOR Totals/README_EN.md
@@ -287,7 +287,7 @@ public:
287
int subsetXORSum(vector<int>& nums) {
288
int n = nums.size();
289
int ans = 0;
290
- function<void(int, int)> dfs = [&](int i, int s) {
+ auto dfs = [&](this auto&& dfs, int i, int s) {
291
if (i >= n) {
292
ans += s;
293
return;
solution/1800-1899/1863.Sum of All Subset XOR Totals/Solution2.cpp
@@ -3,7 +3,7 @@ class Solution {
3
4
5
6
7
8
9
0 commit comments