Skip to content

Commit 083356a

Browse files
committed
format now
1 parent 6911ed1 commit 083356a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

library/trees/extra_members/next_on_path.hpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@
55
//! @space O(1)
66
int next_on_path(int u, int v) {
77
assert(u != v);
8-
return in_subtree(u, v) ? rmq.query(tin[u] + 1, tin[v] + 1) : p[u];
8+
return in_subtree(u, v)
9+
? rmq.query(tin[u] + 1, tin[v] + 1)
10+
: p[u];
911
}

0 commit comments

Comments
 (0)