Skip to content

Commit

Permalink
Update 037.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Reputeless committed May 4, 2022
1 parent b5315d1 commit d3c91f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 037.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public:
ni = (ni - 1) / 2;

// 親を更新
m_nodes[ni] = std::max(m_nodes[(ni * 2 + 1)], m_nodes[(ni * 2 + 2)]);
update(ni);
}
}

Expand Down

0 comments on commit d3c91f2

Please sign in to comment.