当前位置:网站首页>数数字游戏
数数字游戏
2022-07-06 09:13:00 【萍果馅是年糕】
数数字游戏:2人交替数数字,从1开始,到21结束,先数到21者获胜。每人每次至少数1个数字,每人每次最多数3个数字。
神话般的结论:谁先数,谁就获胜。
请大家给出游戏破解的秘籍,并进一步探讨以下几种情况:
(1)如果是从1开始,到17结束,到13结束……?
(2)如果是从1开始,到31结束?
(3)如果是从1开始,到21结束,但至少2个数字,最多可以数5个数字?
(4)如果是谁数到21,谁输,其他条件不变,如何调整游戏秘籍?
游戏秘籍
最后一个数是21,而可以报数最大为3,最小为1,则当最后剩下5个数字时,先报数的必赢。先报数的掌握17,无论后者报几位数,都可以赢。想要报17,先报1,然后要保证前面都是4个数字一局,则要掌握5,9,13这几个数字。
(1)17结束
根据游戏秘籍,先报1,然后4个数字一局,掌握5,9,13最后剩下14,15,16,17由后报者先报,则先报者赢。
13结束
根据游戏秘籍,先报1,然后4个数字一局,掌握5,9最后剩下10,11,12,13由后报者先报,先报者赢。
(2)31结束
根据游戏秘籍,先报1,2然后4个数字一局,掌握6,10,14,18,22,26最后剩下27,28,29,30,31,先报者赢。
(3)可以报数最大为5,最小为2,则最后要保证剩下6或7个数字。要掌握14和15。
(4)最后一个数是21,而可以报数最大为3,最小为1,则当最后剩下5个数字时,后报数的必赢。后报者要保证4,8,12,16这几个数字,保证4个数字一局。
边栏推荐
- [reading notes] rewards efficient and privacy preserving federated deep learning
- 02-项目实战之后台员工信息管理
- Asp access Shaoxing tourism graduation design website
- 35 is not a stumbling block in the career of programmers
- February 13, 2022-2-climbing stairs
- Remember a company interview question: merge ordered arrays
- API learning of OpenGL (2003) gl_ TEXTURE_ WRAP_ S GL_ TEXTURE_ WRAP_ T
- JDBC原理
- Database middleware_ MYCAT summary
- Navicat 导出表生成PDM文件
猜你喜欢
![[reading notes] rewards efficient and privacy preserving federated deep learning](/img/c3/5e88277b5024885d5ceeaa0de14b27.jpg)
[reading notes] rewards efficient and privacy preserving federated deep learning

解决:log4j:WARN Please initialize the log4j system properly.

MySQL21-用戶與權限管理

CSDN blog summary (I) -- a simple first edition implementation

Water and rain condition monitoring reservoir water and rain condition online monitoring

How to change php INI file supports PDO abstraction layer

Mysql26 use of performance analysis tools

A trip to Macao - > see the world from a non line city to Macao

CSDN问答模块标题推荐任务(一) —— 基本框架的搭建
![[C language foundation] 04 judgment and circulation](/img/59/4100971f15a1a9bf3527cbe181d868.jpg)
[C language foundation] 04 judgment and circulation
随机推荐
[Thesis Writing] how to write function description of jsp online examination system
Generate PDM file from Navicat export table
MySQL21-用户与权限管理
The virtual machine Ping is connected to the host, and the host Ping is not connected to the virtual machine
C语言标准的发展
Swagger、Yapi接口管理服务_SE
Ansible实战系列三 _ task常用命令
Invalid global search in idea/pychar, etc. (win10)
CSDN question and answer tag skill tree (I) -- Construction of basic framework
记某公司面试算法题:查找一个有序数组某个数字出现的次数
Mysql21 - gestion des utilisateurs et des droits
导入 SQL 时出现 Invalid default value for ‘create_time‘ 报错解决方法
Just remember Balabala
Swagger, Yapi interface management service_ SE
图片上色项目 —— Deoldify
LeetCode #461 汉明距离
【博主推荐】C#生成好看的二维码(附源码)
Data dictionary in C #
Global and Chinese market of operational amplifier 2022-2028: Research Report on technology, participants, trends, market size and share
Copie maître - esclave MySQL, séparation lecture - écriture