2013年3月28日

Collecting Bugs_poj2096

摘要: DescriptionIvan is fond of collecting. Unlike other people who collect post stamps, coins or other material stuff, he collects software bugs. When Ivan gets a new program, he classifies all possible bugs into n categories. Each day he discovers exactly one bug in the program and adds information abo 阅读全文

posted @ 2013-03-28 10:58 the unkown road 阅读(103) 评论(0) 推荐(0)

One Person Game

摘要: Time Limit:1 Second Memory Limit:32768 KB Special JudgeThere is a very simple and interesting one-person game. You have 3 dice, namelyDie1,Die2andDie3.Die1hasK1faces.Die2hasK2faces.Die3hasK3faces. All the dice are fair dice, so the probability of rolling each value, 1 toK1,K2,K3is exactly 1 /K1, 1 / 阅读全文

posted @ 2013-03-28 10:39 the unkown road 阅读(174) 评论(0) 推荐(0)

导航