英语翻译PonderThisChallenge:Nlamps-查字典问答网
分类选择

来自陈佳的问题

  英语翻译PonderThisChallenge:Nlampsaresetinacircle,andforeachintegerMyouhaveatoolthatcantogglethestate(on/off)ofanysetofMconsecutivelamps.FindapossibleNwhichsatisfiesthefollowingstatements:Thesumofitsdigits

  英语翻译

  PonderThisChallenge:

  Nlampsaresetinacircle,andforeachintegerMyouhaveatoolthatcantogglethestate(on/off)ofanysetofMconsecutivelamps.

  FindapossibleNwhichsatisfiesthefollowingstatements:

  Thesumofitsdigitsislessthan10.

  ByapplyingthetoolforM=105severaltimes,wecantoggleasinglelamp.

  IfweremoveonelampandstartfromarandominitialsettingfortheremainingN-1lamps,theprobabilitythatthereexistsawaytoapplythetoolforM=32severaltimesandswitchallthelampsoffislessthan0.001%.

1回答
2020-05-2722:58
我要回答
提示:回答问题需要登录哦!
黄明

  思考这个挑战:n灯设置在一个圆圈,并为每个整数m,你有一个工具,可以切换状态(开/关)的任何一组的M个连续灯.找到一个可能的n满足下列语句:的数字之和小于10.通过应用工具,M=105几次,我们可以切换单灯.如果我们从...

2020-05-27 22:59:22
大家都在问
最新问答