Location:
Search - java pile
Search list
Description: 实例(java)
1. 编写一个程序,列出1 到1000 以内的,求59 的余后为1 质数。
2. 试编写程序解下面的问题。猴子吃桃问题:猴子第一天摘下若干个桃子,当即吃了
一半,还不瘾,又多吃了一个 第二天早上又将剩下的桃子吃掉一半,又多吃了一个。
以后每天早上都吃了前一天剩下的一半零一个。到第10 天早上想再吃时,见只剩
下一个桃子了。求第一天共摘了多少。
3. 编写一个程序求1+2!+3!+...+20!的和。
4. 试编写程序求解下面的问题:海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成五份,又多了一个,它同样把多的一个扔入海中,
拿走了一份,第三、第四、第五只猴子都是这样做的,问海滩上原来最少有多少个桃子?(请列举出1000000 以内的最小总数)
-Example (java) 1. Preparation of a procedure set out within 1-1000, I seek 59 after a prime number. 2. Test preparation procedures solution to the problem below. The monkeys eat peaches : monkeys became the first several days of peaches, a half-eaten immediately, not addiction, Also eat a morning of the second day will eat the remaining peach half, eat one. The morning after the day before telling the remaining half of a zero. Article 10 days served, when the morning to see only one of the peach. For the first days of the number of extraction. 3. Process for the preparation of a 1 2! Three! ... 20! And. 4. Test preparation procedures to solve the following problems : on the beach with a pile of peaches, five minutes to monkeys. First monkeys peaches evidence of this reactor were divided in
Platform: |
Size: 1658 |
Author: wangqi |
Hits:
Description: 用JAVA 写的数据结构 PILE 的算法,这种算法是法国大学老师算PILE 的一种方法.-using Java to write the data structure of the stiffness This algorithm is counting France braced University teachers a way.
Platform: |
Size: 5927 |
Author: li |
Hits:
Description: 用JAVA 写的数据结构 PILE 的算法,这种算法是法国大学老师算PILE 的一种方法.-using Java to write the data structure of the stiffness This algorithm is counting France braced University teachers a way.
Platform: |
Size: 6144 |
Author: li |
Hits:
Description: 实例(java)
1. 编写一个程序,列出1 到1000 以内的,求59 的余后为1 质数。
2. 试编写程序解下面的问题。猴子吃桃问题:猴子第一天摘下若干个桃子,当即吃了
一半,还不瘾,又多吃了一个 第二天早上又将剩下的桃子吃掉一半,又多吃了一个。
以后每天早上都吃了前一天剩下的一半零一个。到第10 天早上想再吃时,见只剩
下一个桃子了。求第一天共摘了多少。
3. 编写一个程序求1+2!+3!+...+20!的和。
4. 试编写程序求解下面的问题:海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成五份,又多了一个,它同样把多的一个扔入海中,
拿走了一份,第三、第四、第五只猴子都是这样做的,问海滩上原来最少有多少个桃子?(请列举出1000000 以内的最小总数)
-Example (java) 1. Preparation of a procedure set out within 1-1000, I seek 59 after a prime number. 2. Test preparation procedures solution to the problem below. The monkeys eat peaches : monkeys became the first several days of peaches, a half-eaten immediately, not addiction, Also eat a morning of the second day will eat the remaining peach half, eat one. The morning after the day before telling the remaining half of a zero. Article 10 days served, when the morning to see only one of the peach. For the first days of the number of extraction. 3. Process for the preparation of a 1 2! Three! ... 20! And. 4. Test preparation procedures to solve the following problems : on the beach with a pile of peaches, five minutes to monkeys. First monkeys peaches evidence of this reactor were divided in
Platform: |
Size: 1024 |
Author: wangqi |
Hits:
Description: 模拟砂堆的元胞自动机源代码。对于认识和学习元胞自动机(CA)很有帮助-sand pile simulation of cellular automata source code. Learning to recognize and cellular automata (CA) helpful
Platform: |
Size: 4096 |
Author: 颜建军 |
Hits:
Description: Genetic Algorithm example using Java
You have 10 cards numbered 1 to 10.
You have to divide them into 2 piles so that:
The sum of the first pile is as close as possible to 36 and the product of all in second pile is as close as poss to 360.
Platform: |
Size: 4096 |
Author: Kamran Ali |
Hits:
Description: JDK 是整个Java的核心,包括了Java运行环境(Java Runtime Envirnment),一堆Java工具和Java基础的类库(rt.jar)。不论什么Java应用服务器实质都是内置了某个版本的JDK。因此掌握 JDK是学好Java的第一步。最主流的JDK是Sun公司发布的JDK,除了Sun之外,还有很多公司和组织都开发了自己的JDK,例如IBM公司开发的JDK,BEA公司的Jrocket,还有GNU组织开发的JDK等等。其中IBM的JDK包含的JVM(Java Virtual Machine)运行效率要比Sun JDK包含的JVM高出许多。而专门运行在x86平台的Jrocket在服务端运行效率也要比Sun JDK好很多。但不管怎么说,我们还是需要先把Sun JDK掌握好。-JDK is the core of Java, including Java runtime environment (Java Runtime Envirnment), a pile of Java tools and Java-based class library (rt.jar). Java application server regardless of the substance of what is a built-in version of the JDK. Grasp the JDK are therefore the first step to learn Java. JDK most mainstream companies are Sun' s JDK, except Sun, there are a lot of companies and organizations have developed their own JDK, such as IBM to develop the JDK, BEA' s Jrocket, also developed by GNU and so on JDK . IBM' s JDK contains one of the JVM (Java Virtual Machine) operating efficiency than the Sun JDK contains much higher than the JVM. Specifically x86 platform running on the server running Jrocket efficiency much better than the Sun JDK. But in any case, we still need to better grasp the Sun JDK first.
Platform: |
Size: 14336 |
Author: yang hua yuan |
Hits:
Description: 旋转的俄罗斯方块游戏倒是还没玩过,也没见过,不过玩起来一定够过瘾,一边旋转一边摞方块的高难度相信你也没有玩过,试试吧,同时你也可以打开JAVA源文件,研究一下了。-Spinning Dao Shi has not played the game Tetris, but also never seen, but certainly enough to play together quickly, while rotating the difficult side of the pile box that you have not tried it, try it, you also can open the JAVA source file, look at the.
Platform: |
Size: 25600 |
Author: 198 |
Hits:
Description: Pile
Pile pour l algorithme des graphes dans JAVA~-Pile
Pile pour l algorithme des graphes dans JAVA ~
Platform: |
Size: 1024 |
Author: Schweini |
Hits:
Description: 这是一个java语言编写的,安卓手机游戏,堆房子。适合安卓开发入门的学习者。-This is a java language, Android mobile games, heap house. Andrews developed suitable entry learners.
Platform: |
Size: 750592 |
Author: mammonlijing |
Hits:
Description: source code in java stack
Platform: |
Size: 1024 |
Author: adem |
Hits: