hdu2955 Robberies

The first line of input gives T, the number of cases. For each scenario, the first line of input gives a floating point number P, the probability Roy needs to be below, and an integer N, the number of banks he has plans for. Then follow N lines, where line j gives an integer Mj and a floating point number Pj .Bank j contains Mj millions, and the probability of getting caught from robbing it is Pj .

,变幻原是永恒,我们唯有用永恒的诺言制约世事的变幻。

hdu2955 Robberies

相关文章:

你感兴趣的文章:

标签云: