摘要: Twenty Questions https://odzkskevi.qnssl.com/15b7eb4cd1f75f63cee3945b0b845e4f?v=1508411736 【题解】 dp[S1][S2]表示已经询问了S1,确定有S2,还需要至少多少次询问 dp[S1][S2] = max( 阅读全文
posted @ 2017-10-23 17:18 嘒彼小星 阅读(235) 评论(0) 推荐(0)
摘要: D. Robot Control time limit per test 6 seconds memory limit per test 256 megabytes input standard input output standard output The boss of the Company 阅读全文
posted @ 2017-10-23 11:43 嘒彼小星 阅读(671) 评论(0) 推荐(0)
摘要: https://odzkskevi.qnssl.com/b506a3c20adad78678917d1ff4c9b953?v=1508327485 【题解】 dp[i][S1][S2]表示前i个教师选/不选已经决策完,当前有一个老师教的课程为S1,两个老师教的课程为S2,还需要的最小价值 答案为dp 阅读全文
posted @ 2017-10-23 08:14 嘒彼小星 阅读(250) 评论(0) 推荐(0)