Location:
Search - PokerGa
Search list
Description: 纸牌游戏
任务:编号为1-52张牌,正面向上,从第2张开始,以2为基数,是2的倍数的牌翻一次,直到最后一张牌;然后,从第3张开始,以3为基数,是3的倍数的牌翻一次,直到最后一张牌;然后…从第4张开始,以4为基数,是4的倍数的牌翻一次, 直到最后一张牌;...再依次5的倍数的牌翻一次,6的,7的 直到 以52为基数的 翻过,输出:这时正面向上的牌有哪些?
-Card Games task: number is 1-52 cards, face up, starting from the first two to two as the base, is a multiple of 2 cards turning once, until the last card and then started from the first three in order to 3 as a base, is a multiple of three cards turning once, until the last card then ... starting from the first 4 to 4 as the base, is a multiple of 4 cards turning once, until the last card ... and then in multiples of 5 cards in turn turning once, 6, and 7 to 52 as the base until it crossed, the output: when the cards face up What?
Platform: |
Size: 1024 |
Author: 彭玲 |
Hits: