摘要: A. 预处理出每个状态的转移\(t(u,c)\),然后\(dp(i,j)\)表示长度为\(i\)在DFA上状态为\(j\)DP即可 答案需要高精度 1 #include<bits/stdc++.h> 2 #define MAXL 205 3 using namespace std; 4 const 阅读全文
posted @ 2020-12-13 13:00 幽蝶 阅读(240) 评论(0) 推荐(0) 编辑