英语翻译TheChildren’sDayhaspassedf-查字典问答网
分类选择

来自史文华的问题

  英语翻译TheChildren’sDayhaspassedforsomedays.Hasyourememberedsomethinghappenedatyourchildhood?IrememberedIoftenplayedagamecalledhidehandkerchiefwithmyfriends.NowIintroducethegametoyou.SupposethereareNpeople

  英语翻译

  TheChildren’sDayhaspassedforsomedays.Hasyourememberedsomethinghappenedatyourchildhood?IrememberedIoftenplayedagamecalledhidehandkerchiefwithmyfriends.

  NowIintroducethegametoyou.SupposethereareNpeopleplayedthegame,whositonthegroundformingacircle,everyoneownsaboxbehindthem.Alsothereisabeautifulhandkerchiefhidinaboxwhichisoneoftheboxes.

  ThenHaha(afriendofmine)iscalledtofindthehandkerchief.Buthehasastrangehabit.EachtimehewillsearchthenextboxwhichisseparatedbyM-1boxesfromthecurrentbox.Forexample,therearethreeboxesnamedA,B,C,andnowHahaisatplaceofA.nowhedecidetheMifequalto2,sohewillsearchAfirst,thenhewillsearchtheCbox,forCisseparatedby2-1=1boxBfromthecurrentboxA.ThenhewillsearchtheboxB,thenhewillsearchtheboxA.

  Soafterthreetimesheestablishesthathecanfindthebeautifulhandkerchief.NowIwillgiveyouNandM,canyoutellmethatHahaisabletofindthehandkerchiefornot.Ifhecan,youshouldtellme"YES",elsetellme"POORHaha".

2回答
2020-12-13 03:27
我要回答
请先登录
李擎宇

  儿童节已经过去几天了.你还记得在你孩提时代发生的事情吗?我记得我经常和朋友玩“藏手帕”的游戏.现在我把这个游戏介绍给你.假设有N个人坐在地上围成一圈玩这个游戏.每个人身后都有一个自己的盒子.其中一个人的盒子中藏了个美丽的手帕.

  然后Haha(我的一个好朋友)被叫出找手帕.但他有个奇怪的习惯.每次他都会找被M-1分开的下一个盒子.例如:有三个分别叫A,BC的盒子.现在Haha在A的位置.那么他会想M是否等于2.所以他会先找盒子A.然后再去看盒子C.因为C被2-1=1从当前的盒子A分开.然后他会找盒子B,最后找盒子A.

  所以三次之后他就能确定他能找到美丽的手帕.现在我告诉你N和M(的数值).你能告诉我Haha是否能找到手帕吗.如果他能,你就告诉他:yes,否则就说:可怜的haha.

  完全人工翻译打字哦!可能有有出入的地方,忘见谅~~O(∩_∩)O

2020-12-13 03:28:59
史文华

  这是一道题目,我看不懂题意现在懂了这句nowhedecidetheMifequalto2,非得翻译成现在他假设M=2,全文才通顺了,不过还是谢谢

2020-12-13 03:33:12

最新问答

推荐文章

猜你喜欢

附近的人在看

推荐阅读

拓展阅读

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