摘要:
模拟字符串处理 很暴力的方法,就是把能变成::的全部枚举一次,选最小的即可。。 include define INF 0x3f3f3f3f define full(a, b) memset(a, b, sizeof a) define __fastIn ios::sync_with_stdio(fa 阅读全文
摘要:
矩阵快速幂 把指数按十进制拆开的快速幂。。。 include define INF 0x3f3f3f3f define full(a, b) memset(a, b, sizeof a) define __fastIn ios::sync_with_stdio(false), cin.tie(0) 阅读全文