小时候,我的朋友有一个神奇的8号球,我们会问这个问题,看看这个问题的命运是什么。
挑战
您面临的挑战是编写一个程序(或函数),在运行(或调用)时,从以下可能的答案中输出(或返回)随机答案。(随机为:each output should have a nonzero chance of occurring but they do not need to meet any other criteria
)
魔术8球的可能答案是(不区分大小写):
It is certain
It is decidedly so
Without a doubt
Yes definitely
You may rely on it
As I see it, yes
Most likely
Outlook good
Yep
Signs point to yes
Reply hazy try again
Ask again later
Better not tell you now
Cannot predict now
Concentrate and ask again
Don't count on it
My reply is no
My sources say no
Outlook not so good
Very doubtful
输入项
没有输入。
输出量
从上面随机选择。大小写无所谓。
规则
不允许出现标准漏洞。
这是代码高尔夫球,因此每种语言的最短代码(以字节为单位)获胜!
Signs point to yes