摘要:
题目链接:https://darkbzoj.tk/problem/3668 从高位到低位依次计算,注意什么什么能用 $1$ 留坑,把之前$wa$的码写对 #include<cstdio> #include<cstring> #include<algorithm> #include<iostream> 阅读全文
posted @ 2020-10-31 20:08
Tartarus_li
阅读(81)
评论(0)
推荐(0)
摘要:
https://www.acwing.com/problem/content/93/ \(dp[S][i]\) 表示经过点的状态为 \(S\) , 当前在 \(i\) 点时的最短路 时间复杂度$O(n2*2n)$ #include<cstdio> #include<cstring> #include 阅读全文
posted @ 2020-10-31 18:29
Tartarus_li
阅读(81)
评论(0)
推荐(0)
摘要:
要求$O(n)$的时间和$O(1)$的空间 阅读全文
posted @ 2020-10-31 17:59
Tartarus_li
阅读(41)
评论(0)
推荐(0)

浙公网安备 33010602011771号