Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 1 to 4 u
Search - 1 to 4 u - List
一隻原創的方塊遊戲!與一般玩都的不同!大家不妨一試!-An original game box! And general play are different! U.S. may wish to try one!
Date : 2026-01-09 Size : 35kb User : fai

问题的提出:17世纪法国数学家加斯帕的一本《数学的游戏问题》描述了许多有趣问题,约瑟问题就是其中之一: 15名基督教徒和15名异教徒同乘一船航行,途中风浪大作,危机万分,领航者告诉大家,只要将全船的一半人投入海中,其余人就能幸免。大家都同意这个办法,并协定者30人围成一圈;由第一个人起报数,每数至第9人便把他投入海中,下一个接着从1开始报数,第9人又被投入海中,依次循环,直至剩下15人为止。问题是如何排法使投入海中的人全为异教徒? 编程的思路:此问题有人把它的答案隐示于下列詩句中: From numbers’ aid and art, (依靠数字的和魔力,) Never will fame depart! (声誉决不会离你而去!) 这句诗中元音字母依次为:oueaiaaeeiaeea,分别用1、2、3、4、5代替a、e、i、o、u,便得一排数(划线得数字表示基督教徒,不划线的表示异教徒)。 4 5 2 1 3 1 1 2 2 3 1 2 2 1 故所求排法诗4个基督教徒,5个异教徒,再2个基督教徒,1个异教徒,…可以证明,这种排法所有的基督教徒都是安全的。 -The problem put forward: 17 th century French mathematician gaspar s book "the game of mathematics problems describes many interesting questions, Joseph is one of them: 15 Christian and pagan 15 with a ship sailing by, on the wind was blowing and crisis extremely, pilot told everyone, as long as the whole ship half of them into the sea, and the rest will survive. We all agree with this method, and the agreement is 30 a circle By the first man up to number off, each number to 9 people gave him into the sea, and the next then from 1 began to sound off, who was put into the sea and 9, in circulation, until 15 people left so far. The question is how to row in the sea to input method for all pagan? Programming ideas: this was the answer to the question it concealed in the following lines: From Numbers aid and art, (depending on the number and the magic,) Never will fame depart! (reputation will never leave you!) This poem of vowels in order as: oueaiaaeeiaeea, respectively for 1, 2,
Date : 2026-01-09 Size : 11kb User : jim
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.