摘要:
给定一张无向图 求S->T经过K条边的最短路是多少 对于形如 $A(i,j)=opt(A(i,k)\ opt\ B(k,j)$的形式 可以考虑用矩阵乘法来解决 #include <iostream> #include <cstdio> #include <cstring> #include <alg 阅读全文
posted @ 2022-01-09 18:13
__iostream
阅读(28)
评论(0)
推荐(0)
摘要:
斐波那契数列 #include <iostream> #include <cstdio> #include <cstring> #define ll long long using namespace std; const int mod=10000; int read() { int x=0,f= 阅读全文
posted @ 2022-01-09 16:13
__iostream
阅读(29)
评论(0)
推荐(0)

浙公网安备 33010602011771号