-
一个很难的数学问题(智力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
-
项目描术:页面实现用户查课和维护个人信息等,如:学生管理、教职工管理、班级信息、机房信息、课程信息、反馈系统等,后台分别是管理员实现用户管理、排课、调课、维护等...
项目描术:页面实现用户查课和维护个人信息等,如:学生管理、教职工管理、班级信息、机房信息、课程信息、反馈系统等,后台分别是管理员实现用户管理、排课、调课、维护等操作。-Item scanning technique: a user check page implementation class and maintenance of personal information, such as: student management, faculty management, class information, room information, course information, feedback systems, the background are the administrator to achieve user management, arranging schedule, transfer lessons, maintenance operations.
- 2023-08-15 18:30:03下载
- 积分:1
-
显示图像和播放声音
显示图像和播放声音-display pictures and sound broadcast
- 2022-02-15 02:17:59下载
- 积分:1
-
沙
sha-1算法的Java实现,可以作为学习sha-1算法的实践参考文档。-sha-1 algorithm realize Java can be used as sha-1 algorithm for learning the practice of reference documentation.
- 2022-01-28 20:22:05下载
- 积分:1
-
用JBuilder开发J2EE,详细介绍。建工程,配置文件等等。
用JBuilder开发J2EE,详细介绍。建工程,配置文件等等。-with JBuilder development of J2EE, a detailed briefing. Building works, configuration files, and so on.
- 2023-07-17 16:55:06下载
- 积分:1
-
java程序,适合初学者,可编译运行,已测试
java程序,适合初学者,可编译运行,已测试-java procedures for beginners, the compiler can run, have tested
- 2023-07-14 11:05:03下载
- 积分:1
-
BlogJava 备份文章阅读器(含源码,SWT)
BlogJava 备份文章阅读器(含源码,SWT)-BlogJava backup article reader (including source code, SWT)
- 2022-11-17 08:20:03下载
- 积分:1
-
java 简单聊天程序 截面简单 欢迎大家下载
java 简单聊天程序 截面简单 欢迎大家下载-java simple chat section simple procedures to welcome you download
- 2022-08-24 00:36:15下载
- 积分:1
-
玫瑰线的JAVA实现
玫瑰线的JAVA实现-Rose Line JAVA
- 2022-01-25 19:04:20下载
- 积分:1
-
A simple class defines a simple Ball class, including methods.
简单的类,定义了一个简单的Ball类,包含方法。-A simple class defines a simple Ball class, including methods.
- 2022-02-07 08:38:00下载
- 积分:1