摘要:
编辑距离 51Nod - 1183 补一道经典dp问题~ 1 #include <bits/stdc++.h> 2 using namespace std; 3 const int maxn = 1010; 4 5 char s[maxn], p[maxn]; 6 int dp[maxn][maxn 阅读全文
摘要:
Ellipse HDU - 1724 emmm...快比赛了先补几个模板~ 自适应辛普森积分 Ellipse HDU - 1724 Ellipse emmm...快比赛了先补几个模板~ 自适应辛普森积分 1 #include <bits/stdc++.h> 2 using namespace std 阅读全文
摘要:
To xor or not to xor SGU - 275 线性基求异或最大值~ 1 #include <bits/stdc++.h> 2 using namespace std; 3 #define LL long long 4 const int maxn = 110; 5 LL a[maxn 阅读全文