[F] Fix compilation error

This commit is contained in:
Hykilpikonna
2021-11-09 20:21:58 -05:00
parent 09398b6175
commit b85d21d3d2
+1
View File
@@ -104,6 +104,7 @@ By definition of $g \in \cO(f)$, we know $g(n) \leq c_0 \cdot f(n)$.
g(n) &\leq c_0 \cdot (\floor{f(n)} + \floor{f(n)}) \quad{\text{because } 1 \leq \floor{f(n)}} \\
g(n) &\leq 2c_0 \cdot \floor{f(n)}\\
g(n) &\leq c_1 \cdot \floor{f(n)}
\end{align*}
\end{proof}
\end{enumerate}