OSDN Git Service
(root)
/
oi-wiki
/
main.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
348ef19
)
Update docs/graph/mod-shortest-path.md
author
mgt
<mgt@oi-wiki.org>
Tue, 15 Sep 2020 04:57:01 +0000
(12:57 +0800)
committer
GitHub
<noreply@github.com>
Tue, 15 Sep 2020 04:57:01 +0000
(12:57 +0800)
docs/graph/mod-shortest-path.md
patch
|
blob
|
history
diff --git
a/docs/graph/mod-shortest-path.md
b/docs/graph/mod-shortest-path.md
index
288230f
..
9e6acbf
100644
(file)
--- a/
docs/graph/mod-shortest-path.md
+++ b/
docs/graph/mod-shortest-path.md
@@
-17,7
+17,7
@@
- $i \xrightarrow{y} (i+y) \bmod x$
-- $i \xrightarrow{z} (i+z) \mod x$
+- $i \xrightarrow{z} (i+z) \
b
mod x$
注意通常选取一组 $a_i$ 中最小的那个数对它取模,也就是此处的 $x$ ,这样可以尽量减小空间复杂度(剩余系最小)。