首页 > 路径数量
头像 TheOnlyMan
发表于 2021-08-06 16:55:16
学过离散数学的都应该知道这题怎么做,然后我用的是矩阵快速幂,复杂度 ,就算是遇到 值很大的情况下也可以解。 #include<iostream> #include<algorithm> #include<cstring> using namespace std 展开全文