OSDN Git Service

Update docs/graph/mod-shortest-path.md
authormgt <mgt@oi-wiki.org>
Tue, 15 Sep 2020 04:57:01 +0000 (12:57 +0800)
committerGitHub <noreply@github.com>
Tue, 15 Sep 2020 04:57:01 +0000 (12:57 +0800)
docs/graph/mod-shortest-path.md

index 288230f..9e6acbf 100644 (file)
@@ -17,7 +17,7 @@
 
 -  $i \xrightarrow{y} (i+y) \bmod x$ 
 
--  $i \xrightarrow{z} (i+z) \mod x$ 
+-  $i \xrightarrow{z} (i+z) \bmod x$ 
 
 注意通常选取一组 $a_i$ 中最小的那个数对它取模,也就是此处的 $x$ ,这样可以尽量减小空间复杂度(剩余系最小)。