摘要: 链接:http://codeforces.com/problemset/problem/540/D题目大意:这个岛上有三种生物 r石头 s剪刀 p布求最后只剩一种生物的概率用dp[i][j][k]表示概率石头和剪刀相遇的概率是p=i*j/(i*j+j*k+k*i),剪刀会被吃掉 所以dp[i][j... 阅读全文
posted @ 2015-11-20 20:52 啦咯 阅读(476) 评论(0) 推荐(0) 编辑
摘要: 链接:http://codeforces.com/problemset/problem/540/CYou play a computer game. Your character stands on some level of a multilevel ice cave. In order to m... 阅读全文
posted @ 2015-11-20 19:49 啦咯 阅读(177) 评论(0) 推荐(0) 编辑
摘要: B. School Markstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Vova studies programming i... 阅读全文
posted @ 2015-11-20 19:42 啦咯 阅读(166) 评论(0) 推荐(0) 编辑
摘要: Problem - 4325 http://acm.hdu.edu.cn/showproblem.php?pid=4325Problem DescriptionAs is known to all, the blooming time and duration varies between diff... 阅读全文
posted @ 2015-11-18 18:13 啦咯 阅读(144) 评论(0) 推荐(0) 编辑
摘要: Problem DescriptionJohn has several lines. The lines are covered on the X axis. Let A is a point which is covered by the most lines. John wants to kno... 阅读全文
posted @ 2015-11-18 17:51 啦咯 阅读(196) 评论(0) 推荐(0) 编辑
摘要: Problem Descriptiondxy has a collection of a series of books called "The Stories of SDOI",There aren(n≤19)books in this series.Every book has a number... 阅读全文
posted @ 2015-11-18 13:30 啦咯 阅读(125) 评论(0) 推荐(0) 编辑
摘要: DescriptionSome of Farmer John'sNcows (1 ≤N≤ 80,000) are having a bad hair day! Since each cow is self-conscious about her messy hairstyle, FJ wants t... 阅读全文
posted @ 2015-11-14 17:55 啦咯 阅读(198) 评论(0) 推荐(0) 编辑
摘要: Painting some colored segments on a line, some previously painted segments may be covered by some the subsequent ones.Your task is counting the segmen... 阅读全文
posted @ 2015-11-11 19:58 啦咯 阅读(152) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1698Problem DescriptionIn the game of DotA, Pudge’s meat hook is actually the most horrible thing for most o... 阅读全文
posted @ 2015-11-11 18:47 啦咯 阅读(523) 评论(0) 推荐(0) 编辑
摘要: The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all pl... 阅读全文
posted @ 2015-11-11 17:01 啦咯 阅读(193) 评论(0) 推荐(0) 编辑