摘要:
https://scut.online/p/12 可以用矩阵快速幂来做。 阅读全文
posted @ 2019-06-14 17:56
韵意
阅读(115)
评论(0)
推荐(0)
摘要:
写了一个矩阵类,不用到处抄。默认是int矩阵。 阅读全文
posted @ 2019-06-14 17:53
韵意
阅读(283)
评论(0)
推荐(0)
摘要:
https://scut.online/p/15 样例错了,按题目说的去做就AC了。 反向搜索使得最终比较strncmp的时候复杂度下降了很多(虽然应该可行性剪枝也少了) cpp include using namespace std; typedef long long ll; char s[64 阅读全文
posted @ 2019-06-14 17:00
韵意
阅读(207)
评论(0)
推荐(0)

浙公网安备 33010602011771号