Problem 3824 --League of Legends

3824: League of Legends

"
Time Limit $1$ 秒/Second(s) Memory Limit $128$ 兆字节/Megabyte(s)
提交总数 $1$ 正确数量 $1$
裁判形式 标准裁判/Standard Judge 我的状态 尚未尝试
难度 分类标签

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:

  • There are three teams competing with each other.
  • Firstly, two teams are selected with equal probability and compete.
  • In each round, the losing team temporarily leaves, and the winning team continues to play against the other of the three teams that did not participate in this round.
  • When a team loses two round in total, the elimination competition ends.
  • For the sake of simplicity, any two teams have a 50% chance of winning against each other.
  • 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.

推荐代码 查看3824 所有题解 上传题解视频得图灵币

本题记录 用 户(点击查看用户) 运行号(点击购买题解) 时 间
算法最快[$0 $ms] 只能过个样例~~~ 762302 2021-08-31 19:41:15
内存最少[$2020 $KB] 只能过个样例~~~ 762302 2021-08-31 19:41:15
第一AC 只能过个样例~~~ 762302 2021-08-31 19:41:15
第一挑战 只能过个样例~~~ 762302 2021-08-31 19:41:15

赛题来源/所属竞赛 2021GDCPC N/A

竞赛编号 竞赛名称 竞赛时间 访问比赛