摘要: 代码: #include<iostream> #include<stdio.h> using namespace std; typedef long long ll; const int inf = 0x3f3f3f; int main(){ int t; cin>>t; while(t--){ i 阅读全文
posted @ 2020-02-20 22:24 sqsq 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 代码: 错误代码:超空间:由于定义了一个二维的dp数组,然后超了,所以我们要把二维转换为一维 #include<iostream> #include<stdio.h> #include<string.h> using namespace std; const int maxn = 3500; int 阅读全文
posted @ 2020-02-20 17:55 sqsq 阅读(143) 评论(0) 推荐(0) 编辑