摘要: 题解:dpDescriptionAlex doesn't like boredom. That's why whenever he gets bored, he comes up with games. One long winter evening he came up with a game a... 阅读全文
posted @ 2015-02-03 20:53 江豚 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 题意 :求期望题解 :找规律,列举几个,然后找到规律。坑点:要简化,不简化数字一大就wa了Sample InputInput6 1Output3.500000000000Input6 3Output4.958333333333Input2 2Output1.750000000000HintConsi... 阅读全文
posted @ 2015-02-03 20:25 江豚 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 题意:Sample Input4 6 4 3 2 2 1 15 3 2 1 1400 12 50 50 50 50 50 50 25 25 25 25 25 250 0 Sample OutputSums of 4:43+12+22+1+1Sums of 5:NONESums of 400:50+5... 阅读全文
posted @ 2015-02-03 11:10 江豚 阅读(125) 评论(0) 推荐(0) 编辑