QAZ likes to play League of Legends and watch league matches as well.
He thinks the double-elimination system of this year's league matches is not fair, so he invented a pro-double-elimination system.
Specifically, in his system:
Now please find out the expected number of rounds in this elimination competition.
输入
No input.
输出
Print exactly one line consisting of a real number, rounded to the first decimal place, that represents the expected number of rounds in the QAZ‘s elimination competition.
来源
2021 GDCPC 广东省大学生程序设计竞赛