当前位置:网站首页>数数字游戏
数数字游戏
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个数字一局。
边栏推荐
- Mysql23 storage engine
- [recommended by bloggers] C # generate a good-looking QR code (with source code)
- Mysql 其他主机无法连接本地数据库
- MySQL主从复制、读写分离
- Swagger, Yapi interface management service_ SE
- Install MySQL for Ubuntu 20.04
- Navicat 導出錶生成PDM文件
- Kubesphere - deploy the actual combat with the deployment file (3)
- 解决扫描不到xml、yml、properties文件配置
- Django运行报错:Error loading MySQLdb module解决方法
猜你喜欢

Csdn-nlp: difficulty level classification of blog posts based on skill tree and weak supervised learning (I)

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

Mysql33 multi version concurrency control

【博主推荐】asp.net WebService 后台数据API JSON(附源码)

Redis的基础使用

图片上色项目 —— Deoldify

A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon

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

Installation and use of MySQL under MySQL 19 Linux

CSDN question and answer module Title Recommendation task (II) -- effect optimization
随机推荐
【博主推荐】C#生成好看的二维码(附源码)
MySQL23-存储引擎
MySQL flush operation
API learning of OpenGL (2005) gl_ MAX_ TEXTURE_ UNITS GL_ MAX_ TEXTURE_ IMAGE_ UNITS_ ARB
February 13, 2022-3-middle order traversal of binary tree
Kubesphere - deploy the actual combat with the deployment file (3)
图像识别问题 — pytesseract.TesseractNotFoundError: tesseract is not installed or it‘s not in your path
A brief introduction to the microservice technology stack, the introduction and use of Eureka and ribbon
Navicat 導出錶生成PDM文件
[recommended by bloggers] background management system of SSM framework (with source code)
@controller,@service,@repository,@component区别
[C language foundation] 04 judgment and circulation
Swagger, Yapi interface management service_ SE
Leetcode 461 Hamming distance
虚拟机Ping通主机,主机Ping不通虚拟机
Mysql28 database design specification
[ahoi2009]chess Chinese chess - combination number optimization shape pressure DP
MySQL主从复制、读写分离
虚拟机Ping通主机,主机Ping不通虚拟机
CSDN问答模块标题推荐任务(二) —— 效果优化