Skip to content

Commit 8ef06cd

Browse files
committed
fix
1 parent 553b245 commit 8ef06cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/library_checker_aizu_tests/data_structures/bit_ordered_set.test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ int main() {
5454
else cout << compress[res] << '\n';
5555
} else {
5656
x = get_compressed_idx(x);
57-
int res = bit.walk(bit.query(x - 1)) + 1;
57+
int res = bit.walk(bit.query(x - 1) + 1);
5858
if (res == ssize(bit.s)) cout << -1 << '\n';
5959
else cout << compress[res] << '\n';
6060
}

0 commit comments

Comments
 (0)