随笔分类 - 算法实验
摘要:最长公共子序列 #include<bits/stdc++.h> #include <chrono> using namespace std; int N; string X ; string Y ; vector<vector<int>> c; //动态规划表 set<string> lcs; ve
阅读全文
摘要:矩阵链乘 #include <iostream> #include<bits/stdc++.h> #include <algorithm> #include <chrono> using namespace std; ofstream file_out, time_out; const int ma
阅读全文
摘要:实验一:动态规划 PB19030888张舒恒 实验设备和环境 PC一台,Win11企业版操作系统,gcc 9.1.0编译器,Clion 2021.2.2代码编辑器,Excel绘图工具 实验内容 1.矩阵链乘最优方案 2.所有最长公共子序列 实验要求 代码限制C/C++,建立根文件夹8
阅读全文

浙公网安备 33010602011771号