关于 #9
关于
#9
Replies: 1 comment
-
欢迎! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
关于
题目链接 大体思路 把 111 作为起始点,将 i(0⩽i⩽x−1)i(0\leqslant i\leqslant x-1)i(0⩽i⩽x−1) 与 (i+y)mod x(i+y)\mod x(i+y)modx 连权值为 yyy 的边以及与 (i+z)mod x(i+z)\mod x(i+z)modx 连权值为 zzz 的边,跑一遍最短路,就会发现到 iii 的最短路(记作 disidis_i
https://felixesintot.top/about/
Beta Was this translation helpful? Give feedback.
All reactions