摘要:
1.HDU 4540简单DP#include #include using namespace std;int main() {// freopen("data3.txt", "r", stdin); int dp[30][20], pos[30][20]; int n, k; while (~scanf("%d%d", &n, &k)) { memset(dp, 0x7f, sizeof(dp)); for (int i = 0; i #include #include#includeusing namespace 阅读全文