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 9d93798 commit 8f0513cCopy full SHA for 8f0513c
2 files changed
library/data_structures_[l,r)/bit.hpp
@@ -1,5 +1,6 @@
1
#pragma once
2
//! @code
3
+//! BIT bit(n);
4
//! bit.walk([&](int r, ll sum) -> bool {
5
//! // sum = a[0] + a[1] + ... + a[r - 1]
6
//! });
library/data_structures_[l,r]/bit.hpp
//! // sum = a[0] + a[1] + ... + a[r]
0 commit comments