2022年3月29日

摘要: 1 #include <bits/stdc++.h> 2 //分块法 3 using namespace std; 4 5 template <class T>/*模板,表示给一个未排序的数组排序后对应的下标*/ 6 vector<int> make_index(const vector<T>& a 阅读全文
posted @ 2022-03-29 15:07 OopsOops 阅读(34) 评论(0) 推荐(0)
 
摘要: 1 #include <bits/stdc++.h> 2 3 using namespace std; 4 5 const int N = (1 << 8) + 1; 6 7 int n, m; 8 9 double a[N][N], dp[9][N][N]; 10 //二维数组的子矩阵和 11 d 阅读全文
posted @ 2022-03-29 09:17 OopsOops 阅读(41) 评论(0) 推荐(0)