摘要: 题目传送门 f[i] = min(f[j] + val(i,j); 其中val(i,j) 满足 四边形dp策略。 代码: #include<bits/stdc++.h> using namespace std; #define Fopen freopen("_in.txt","r",stdin); 阅读全文
posted @ 2018-12-09 22:35 Schenker 阅读(112) 评论(0) 推荐(0) 编辑
摘要: A:Ehab and another construction problem #include<bits/stdc++.h> using namespace std; #define Fopen freopen("_in.txt","r",stdin); freopen("_out.txt","w 阅读全文
posted @ 2018-12-09 13:58 Schenker 阅读(143) 评论(0) 推荐(0) 编辑