-
一个很难的数学问题(智力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
-
five java prepared with a small game FOSS
5个用java编写的小游戏源码-five java prepared with a small game FOSS
- 2023-05-19 06:00:03下载
- 积分:1
-
一个完全用J2SE6.0实现的TrayIcon例子,可以实现系统托盘多功能图标...
一个完全用J2SE6.0实现的TrayIcon例子,可以实现系统托盘多功能图标-A fully realized TrayIcon with J2SE6.0 example, can achieve multi-functional system tray icon
- 2022-05-25 16:21:43下载
- 积分:1
-
graphical programming java using SWT to achieve a printing example, for learning...
java图形化编程中使用SWT实现的一个打印功能的例子,对于学习SWT编程的打印功能是一个很好的源码例子。-graphical programming java using SWT to achieve a printing example, for learning SWT programming printing function is a good example of the source.
- 2022-02-05 04:04:13下载
- 积分:1
-
PHP论坛系统,很实用的系统哦,很实用的系统哦 很实用的系统哦 很实用的系统哦 很实用的系统哦...
PHP论坛系统,很实用的系统哦,很实用的系统哦 很实用的系统哦 很实用的系统哦 很实用的系统哦-very good
- 2022-02-14 20:23:05下载
- 积分:1
-
自己些的java版本的按键精灵可以读取配置文件(Voter.action)
自己些的java版本的按键精灵可以读取配置文件(Voter.action)-Own some of the java version of the button configuration files can be read Elven (Voter.action)
- 2022-08-15 21:11:27下载
- 积分:1
-
Java3D显示空间x,y,z坐标轴,需要安装java3D jdk包!
Java3D显示空间x,y,z坐标轴,需要安装java3D jdk包!-Java3D show space x, y, z axis, the need to install java3D jdk package!
- 2022-03-19 20:19:48下载
- 积分:1
-
一个汉诺塔问题的模拟程序,包含图形模拟和过程同步显示(华南农业大学信息学院计算机系)....
一个汉诺塔问题的模拟程序,包含图形模拟和过程同步显示(华南农业大学信息学院计算机系).-one of the simulation program, including graphics simulation and process synchronization Display (South China Agricultural University, Department of Computer Information Institute).
- 2022-03-10 17:40:38下载
- 积分:1
-
支持图形化界面GUI工具
有关JAVA 容器 监听类和 布局管理器的例子...
支持图形化界面GUI工具
有关JAVA 容器 监听类和 布局管理器的例子-GUI graphical interface to support the instrument on the JAVA classes and monitor the container layout manager example
- 2023-09-04 21:45:03下载
- 积分:1
-
纯Java的数据库,支持内存、文件作为介质的标准SQL访问;支持JDBC访问方式。...
纯Java的数据库,支持内存、文件作为介质的标准SQL访问;支持JDBC访问方式。-Pure Java database, support for memory, the document as a medium standard SQL access support JDBC access.
- 2022-04-20 15:28:38下载
- 积分:1