摘要: 快速幂+最短路+DP acw347 Code: #include<bits/stdc++.h> using namespace std; const int N = 210,M=110,INF=0x3f3f3f3f; int n, m; int g[N][N],res[N][N];//初始时g表示的 阅读全文