poj 2151 Check the difficulty of problems
摘要:
dp[i][j][s]表示第i个人,在前j个问题解决了s个问题dp[i][j][s]=dp[i][j-1][s-1]*p[i][j]+dp[i][j-1][s]*(1-p[i][j]); 1 #include 2 #include 3 #include 4 #include 5 #include 6... 阅读全文
posted @ 2014-07-31 23:04 天凉了 阅读(96) 评论(0) 推荐(0) 编辑