-
一个很难的数学问题(智力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
-
插座的邮件
SOCKET MAIL
- 2022-02-03 09:03:29下载
- 积分:1
-
寻找最短路径A_算法的实现
寻找最短路径A_算法的实现-to find the shortest path algorithm to achieve infty
- 2022-10-10 04:00:02下载
- 积分:1
-
javascript一些基本的用法,正规表达式,验证码.
javascript一些基本的用法,正规表达式,验证码.-javascript use of some basic regular expressions, Verification Code.
- 2022-03-14 03:10:45下载
- 积分:1
-
一款用Netbeans做的带读写的电影院售票系统
一款用Netbeans做的带读写的电影院售票系统-Netbeans to do with a cinema ticketing system with read and write
- 2022-01-26 18:12:17下载
- 积分:1
-
这是Spring和Hibernate的整合资料,是本人精心收集的资料,供大家学习使用...
这是Spring和Hibernate的整合资料,是本人精心收集的资料,供大家学习使用-This is the integration of Spring and Hibernate data are carefully collected my information for studying the use of U.S.
- 2022-07-07 03:33:51下载
- 积分:1
-
讲述了动态注册程序DynaCheckRegister,其中src目录用来存放服务器端的java程序,dynareg目录是用来部署的模块,里面包括使用到的页面文件...
讲述了动态注册程序DynaCheckRegister,其中src目录用来存放服务器端的java程序,dynareg目录是用来部署的模块,里面包括使用到的页面文件-About the dynamic registration procedures DynaCheckRegister, including src directory is used to store server-side java programs, dynareg directory is used to deploy the modules, which include the use of to the page file
- 2022-03-02 16:59:07下载
- 积分:1
-
此系统名为e拍在线拍卖系统,采用java+ssh+div+css+javascript+sqlserver2005开发,非常的好!...
此系统名为e拍在线拍卖系统,采用java+ssh+div+css+javascript+sqlserver2005开发,非常的好!-This system, called e shoot online auction system, using java+ ssh+ div+ css+ javascript+ sqlserver2005 development, very good!
- 2023-03-25 01:50:06下载
- 积分:1
-
FCKeditor.Java v2.4 source code
FCKeditor.Java v2.4 源代码 -FCKeditor.Java v2.4 source code
- 2022-05-13 10:28:21下载
- 积分:1
-
java 说明.下载到受机中不要在电脑中解压
java 说明.下载到受机中不要在电脑中解压-java notes. downloaded to the affected machine will not unzip on your computer
- 2023-01-12 05:25:03下载
- 积分:1