Skip to content

Commit e0898f9

Browse files
committed
Remove unnecessary li chao constructor
1 parent 795e9ba commit e0898f9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

li_chao_dynamic.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ inline LL f(LL m, LL b, int x) {
1616
struct lc_node {
1717
LL m = 0, b = INF;
1818
lc_node *l = nullptr, *r = nullptr;
19-
20-
lc_node() {}
21-
lc_node(LL m, LL b) : m(m), b(b) {}
19+
2220
~lc_node() { delete l; delete r; }
2321

2422
void add_line(LL nm, LL nb, int lo=0, int hi=MAXLC) {

0 commit comments

Comments
 (0)