英语翻译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-27 22:58
我要回答
请先登录
黄明

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

2020-05-27 22:59:22

最新问答

推荐文章

猜你喜欢

附近的人在看

推荐阅读

拓展阅读

  • 大家都在看
  • 小编推荐
  • 猜你喜欢
  •