-
一个很难的数学问题(智力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
-
Some of the notes up that can help you learn more about JAVA language
达内的部分笔记,可以帮助你进一步了解JAVA语言-Some of the notes up that can help you learn more about JAVA language
- 2022-03-18 06:55:17下载
- 积分:1
-
一个简单的Java服务器程序
一个简单的Java服务器程序-a simple Java server
- 2022-02-22 04:59:45下载
- 积分:1
-
张孝强java视频教程中的例子程序,对初学者很有启发性,实用,简单,清晰。...
张孝强java视频教程中的例子程序,对初学者很有启发性,实用,简单,清晰。-Video Guide examples of procedures for beginners very enlightening, practical, simple and clear.
- 2022-10-04 00:45:03下载
- 积分:1
-
简单的汽车租赁信息系统,从C++语言编程,可以…
简单汽车租赁信息系统,由c语言编程的、可以写入文件 ,读取文件!-Simple car rental information systems, from the c programming language, you can write files, read the file!
- 2022-03-23 03:41:14下载
- 积分:1
-
Java逐步实现俄罗斯方,基本游戏功能都具有,可供Java程序员参考。...
Java逐步实现俄罗斯方,基本游戏功能都具有,可供Java程序员参考。-Java and gradually realize the Russian side, the basic game features are available for Java programmers reference.
- 2022-03-15 00:26:48下载
- 积分:1
-
这是一个用java开发的图形化计算器。功能很强大,对于想了解java GUI的编程爱好者很有帮助。...
这是一个用java开发的图形化计算器。功能很强大,对于想了解java GUI的编程爱好者很有帮助。-it is a calculator developing by java.it is very helpful for these wanting to have a knowledge of java GUI
- 2022-03-14 23:30:40下载
- 积分:1
-
beginJsp2.0外文书籍源代码
beginJsp2.0外文书籍源代码-beginJsp2.0 language source code books
- 2022-02-14 23:50:01下载
- 积分:1
-
This is a preparation using JAVA small decompression procedure code is not on jz...
这是一个用JAVA编写的小程序没有解压码是关于jz_chat的希望会对你有所帮助也能对我有所帮助我要下源代码就一个-This is a preparation using JAVA small decompression procedure code is not on jz_chat would hope you can help me to help me on the source code under a
- 2022-06-02 05:39:35下载
- 积分:1
-
比java代码的在线考试系统,全
java固定资产管理系统代码,功能齐全,说明完备,是学习的好资料-more than java code online examination system, a full-featured, well that is a good learning information
- 2022-03-06 19:06:59下载
- 积分:1