摘要: 链接: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) 编辑