summaryrefslogtreecommitdiff
path: root/other/other.tex
diff options
context:
space:
mode:
authormzuenni <michi.zuendorf@gmail.com>2023-01-31 16:28:59 +0100
committermzuenni <michi.zuendorf@gmail.com>2023-01-31 16:28:59 +0100
commitdca70f3ff8aa6e0a7b2a9ceb06d8b7f1f8d550c2 (patch)
tree54e86ce7723b2c44af34a1470e90728e5b9435b2 /other/other.tex
parentf23679138f76033d2e0e60373344573de59b9476 (diff)
added new code
Diffstat (limited to 'other/other.tex')
-rw-r--r--other/other.tex3
1 files changed, 3 insertions, 0 deletions
diff --git a/other/other.tex b/other/other.tex
index 1a56919..a5a05b0 100644
--- a/other/other.tex
+++ b/other/other.tex
@@ -78,6 +78,9 @@
\paragraph{Quadrangle inequality} Die Bedingung $\forall a\leq b\leq c\leq d:
C[a][d] + C[b][c] \geq C[a][c] + C[b][d]$ ist hinreichend für beide Optimierungen.
+
+ \paragraph{Sum over Subsets DP} $\text{res}[\text{mask}]=\sum_{i\subseteq\text{mask}}\text{in}[i]$
+ \sourcecode{other/sos.cpp}
\end{algorithm}
\begin{algorithm}{Parallel Binary Search}