摘要:
点击查看代码 #include<iostream> using namespace std; const int N = 20; int n, a, b, c; int s[N][N]; int f[2 * N][N][N]; int main() { cin >> n; while (cin >> 阅读全文
posted @ 2022-06-15 23:58
wKingYu
阅读(30)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<iostream> using namespace std; const int N = 110; const int INF = 1e9; int n; int s[N][N], f[N][N]; int main() { cin >> n; for (int i 阅读全文
posted @ 2022-06-15 22:55
wKingYu
阅读(48)
评论(0)
推荐(0)
摘要:
BFS + 动态规划 运行时间 855 ms 点击查看代码 #include<iostream> #include<cstring> #include<queue> #define fi first #define se second using namespace std; typedef pai 阅读全文
posted @ 2022-06-15 22:33
wKingYu
阅读(26)
评论(0)
推荐(0)

浙公网安备 33010602011771号