-
Gobang algorithm a game to understand the basis of previous programming plus a l...
一个五子棋算法游戏理解了前人编程的基础上加了一点东西而已希望大家不要见笑-Gobang algorithm a game to understand the basis of previous programming plus a little something just hope that we will not stock
- 2022-05-08 09:01:12下载
- 积分:1
-
331 FO
五子棋源码-331 FO
- 2022-03-30 10:58:02下载
- 积分:1
-
嵌套条件运算符的使用来完成这个问题:学术“= 90…
1输出国际象棋棋盘
2打印楼梯,同时在楼梯上方打印两个笑脸
3古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少?
4判断101-200之间有多少个素数,并输出所有素数。
5打印出所有的“水仙花数”,所谓“水仙花数”是指一个三位数,其各位数字立方和等于该数本身。例如:153是一个“水仙花数”,因为153=1的三次方+5的三次方+3的三次方。
6将一个正整数分解质因数。例如:输入90,打印出90=2*3*3*5。
程序分析:对n进行分解质因数,应先找到一个最小的质数k,然后按下述步骤完成:
(1)如果这个质数恰等于n,则说明分解质因数的过程已经结束,打印出即可。
(2)如果nk,但n能被k整除,则应打印出k的值,并用n除以k的商,作为新的正整数你n,
重复执行第一步。
(3)如果n不能被k整除,则用k+1作为k的值,重复执行第一步。
7利用条件运算符的嵌套来完成此题:学习成绩>=90分的同学用A表示,60-89分之间的用B表示,60分以下的用C表示。-The use of nested conditional operator to complete this question: academic "= 90 points, said students with A between 60-89, with B, said
60 points or less, said to use C.
- 2022-02-24 23:38:59下载
- 积分:1
-
VC编写的围棋游戏程序
VC编写的围棋游戏程序-Go prepared VC games
- 2022-10-12 17:35:03下载
- 积分:1
-
JAVA games algorithm Gobang prepared well but there are BUG
JAVA编制的五子棋游戏 算法很好不过还有BUG-JAVA games algorithm Gobang prepared well but there are BUG
- 2022-08-21 08:08:25下载
- 积分:1
-
pocket pc上了人工智能五子棋
pocket pc上了人工智能五子棋-pocket pc on the AI 331
- 2022-03-01 06:52:59下载
- 积分:1
-
一个有趣的五子棋的源码,vc++编的,挺难,不容易下过NPC
一个有趣的五子棋的源码,vc++编的,挺难,不容易下过NPC-Gobang an interesting source, vc++ Series, hard, not easy to cross under the NPC
- 2022-11-05 18:30:03下载
- 积分:1
-
扑克牌游戏源代码 包含VB和C++的代码以及一些说明文件
扑克牌游戏源代码 包含VB和C++的代码以及一些说明文件-poker game source code contains VB and C code and some documentation
- 2022-02-06 07:01:27下载
- 积分:1
-
这个是用来制作C环境的五子棋源代码,很全面谢谢使用
这个是用来制作C环境的五子棋源代码,很全面谢谢使用-This is used to make the environment Gobang C source code, thank you very comprehensive use of
- 2023-02-19 22:00:04下载
- 积分:1
-
自己做的五子棋程序
自己做的五子棋程序- Own do gobang procedure
- 2023-06-19 11:50:03下载
- 积分:1