摘要: 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 阅读全文
posted @ 2013-12-01 10:57 匡时@下一站.info 阅读(270) 评论(0) 推荐(1)