Skip to content

Commit 7949f33

Browse files
committed
format
1 parent 827ed32 commit 7949f33

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

tests/library_checker_aizu_tests/data_structures/simple_tree_inc_walk.test.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,8 @@ int main() {
2222
cout << st.query(k, k) << '\n';
2323
} else if (type == 3) {
2424
// returns first element in [k,n-1] such that sum > 0
25-
int idx = st.walk(k, n - 1, [&](int sum) {
26-
return sum == 0;
27-
});
25+
int idx = st.walk(k, n - 1,
26+
[&](int sum) { return sum == 0; });
2827
if (idx == n) idx = -1;
2928
cout << idx << '\n';
3029
} else {

0 commit comments

Comments
 (0)