主页
试题仓库
题目列表
试题分类
经典教材
竞赛作业
竞赛列表
提交状态
图灵学院
TuringMOOC
图灵书屋
图灵商城
图灵实验室
图灵会员
历史荣誉
支持我们
图灵IDE
用户/排名
AOJ排名
实名认证
请登录
常用链接
AOJ考试平台
老赵的Gitee代码
编译原理模拟考试平台
Java技术手册
FCC网站
菜鸟网
在线工具箱
字节豆包GPT
代码可视化
力扣网
牛客网
洛谷
杭电OJ
CodeForce
隐藏编译器
Problem 3824 --League of Legends
3824: League of Legends
上一题
正确率: $50.00\%$
下一题
Time Limit
$1$ 秒/Second(s)
Memory Limit
$128$ 兆字节/Megabyte(s)
提交总数
$2$
正确数量
$1$
"
裁判形式
标准裁判/Standard Judge
我的状态
尚未尝试
难度
分类标签
×
为本题添加算法分类(请不要超过5个)
当前分类(单击移除):
单击选择分类:
Description
<p> <span style="font-size:16px;">QAZ likes to play League of Legends and watch league matches as well.</span> </p> <p> <span style="font-size:16px;">He thinks the double-elimination system of this year's league matches is not fair, so he invented a pro-double-elimination system.</span> </p> <p> <span style="font-size:16px;">Specifically, in his system:</span> </p> <ul> <li> <span style="font-size:16px;">There are three teams competing with each other.</span> </li> <li> <span style="font-size:16px;">Firstly, two teams are selected with equal probability and compete.</span> </li> <li> <span style="font-size:16px;">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.</span> </li> <li> <span style="font-size:16px;">When a team loses two round in total, the elimination competition ends.</span> </li> <li> <span style="font-size:16px;">For the sake of simplicity, any two teams have a 50% chance of winning against each other.</span> </li> <li> <span style="font-size:16px;">Now please find out the expected number of rounds in this elimination competition.</span> </li> </ul>
Input
<span style="font-size:16px;">No input.</span>
Output
<span style="font-size:16px;">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.</span>
推荐代码
查看3824 所有题解
上传题解视频得图灵币
本题记录
用 户(点击查看用户)
运行号(点击购买题解)
时 间
算法最快[$0 $ms]
0
内存最少[$0 $KB]
0
第一AC
0
第一挑战
0
赛题来源/所属竞赛
2021GDCPC
N/A
竞赛编号
竞赛名称
竞赛时间
访问比赛
AOJ
Please Login