-
一个很难的数学问题(智力140以下勿进)
旧版Java程序设计Page97 3.12题
庞涓拿到两个整数(2到99之间)之和,孙膑拿到两个整数之积。下面...
一个很难的数学问题(智力140以下勿进)
旧版Java程序设计Page97 3.12题
庞涓拿到两个整数(2到99之间)之和,孙膑拿到两个整数之积。下面是一段很有趣的对话。
庞涓说:我不知道这两个整数是多少,但我肯定你也不知道。
孙膑说:我本来不知道这两个整数是多少。但既然你这么说,那我现在知道了。
庞涓说:哦,那我也知道了。
要求输出所有可能的结果,包括这两个整数之和以及这两个整数之积。
程序设计思路:通过庞涓和孙膑的对话,逐步缩小和的范围,直至得出答案!-A difficult mathematical problem (intelligence not to enter the following 140) old Java programming Page97 3.12 title Pang Juan got two integers (2 to 99) the sum, Sun Bin 2 integers to get the product. Here is a very interesting dialogue. Pang Juan wrote: I do not know how much these two integers, but I am sure you do not know. Sun Bin said: I did not know how much of these two integers. However, as you say so, then I now know. Pang Juan said: Oh, I know. Require the output of all possible results, including the sum of these two integers, as well as the product of these two integers. Program design ideas: By Pang Juan and Sun Bin dialogue, gradually narrowing the scope of, and until the answer!
- 2022-01-26 08:06:00下载
- 积分:1
-
自己写的java贪吃蛇小游戏。
自己写的java贪吃蛇小游戏。-himself wrote the Snake small java games.
- 2022-08-31 19:15:03下载
- 积分:1
-
java 编写的图书管理系统源代码
密码和用户名都是123
java 编写的图书管理系统源代码
密码和用户名都是123-prepared by the library management system source code and user name are 123
- 2022-08-12 22:03:42下载
- 积分:1
-
下面的程序说明了通信接口的类的使用…
The program listed below illustrates the use of the communication interface class to open a connection to a remote APC UPS device. The program has two important functions named as snmpSet and snmpGet. These methods can be used as standalone methods.
- 2023-01-21 15:30:04下载
- 积分:1
-
企业工作流绘制系统
详细毕业设计~
绝对原创~
企业工作流绘制系统
详细毕业设计~
绝对原创~-Enterprise workflow mapping system in detail is absolutely original Graduation ~ ~! !
- 2022-01-28 17:52:40下载
- 积分:1
-
这也是一个JAVA入门学习的一个简单的程序,它实现的功能是将一计算机上文件里的内容输出到屏幕上...
这也是一个JAVA入门学习的一个简单的程序,它实现的功能是将一计算机上文件里的内容输出到屏幕上-This is a JAVA entry of a simple learning procedure, it is the functions of a computer document, the contents of the output to the screen
- 2022-01-28 06:07:12下载
- 积分:1
-
基于JMF实现的MediaPlayer.
基于JMF实现的MediaPlayer.-based on JMF realized MediaPlayer.
- 2022-10-03 09:40:03下载
- 积分:1
-
实例19将彩色图像转换为灰度图.rar
实例19将彩色图像转换为灰度图.rar-19 examples of color images converted to grayscale. Rar
- 2023-01-19 07:55:04下载
- 积分:1
-
useful api,you can get reference from it
useful api,you can get reference from it
- 2022-05-27 09:53:16下载
- 积分:1
-
密码管理,手机J2ME应用。javaSwing设计。
密码管理,手机J2ME应用。javaSwing设计。-Password management, mobile J2ME application. javaSwing design.
- 2022-07-14 00:13:20下载
- 积分:1