#Lutece1487. 卿学姐把妹
卿学姐把妹
Migrated from Lutece 1487 卿学姐把妹
All parts of this problem, including description, images, samples, data and checker, might be broken. If you find bugs in this problem, please contact the admins.
Description
卿学姐要去把妹了!!
卿学姐要把个妹子
每个妹子被勾搭成功的概率是
卿学姐想先定个小目标
使得恰好有个妹子被勾搭的概率最大!!
卿学姐想知道是多少?
如果有多个,输出最大的那个
Input
第一行一个整数,表示有多少个测试点
第二行三个整数,表示妹子的数量,把妹成功的概率是
Output
一个整数
Samples
2
2 1 2
3 1 1
1
3
Resources
每周一题 div2