搜索资源列表
javamine
- java扫雷游戏 程序文件说明 文件 内容 备注 AboutFrame.java 程序“关于”对话框。 JCounter.java 计数器类。 有小位数3位,图形。 JMine.java 主程序类 JMineArth.java 地雷分布图算法类 JMineButton.java Jbutton的扩展类有行号、列号、标记标志和单击标志 StartJMine.java 程序入口点 WinFrame.java 胜利对话框,有易中难三个启动选项
c语言教程(www.vcok.com版)
- 经典c程序100例==1--10 【程序1】 题目:有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? 1.程序分析:可填在百位、十位、个位的数字都是1、2、3、4。组成所有的排列后再去 掉不满足条件的排列。 2.程序源代码: main() { int i,j,k printf(\"\\n\") for(i=1 i<5 i++) /*以下为三重循环*/ for(j=1 j<5 j++) for (k=1 k<5 k++)
shuixianhua
- 打印出所有的“水仙花数”。所谓“水仙花数”是指一个 三位数,其各位数字的立方和等于该数本身。例如, 153是一个“水仙花数”,因为153=13+53+33。 -Print out all of the
Triangle
- 水仙花数是三位数,它的各位数字的立方和等于这个三位数本身,例如371—33+73+1 3,则371就是一个水仙花数。编程找出所有水仙花数。-Narcissus is the three-digit number, it figures that the three-digit cube and equal to itself, for example, 371-33+73+1 3, the 371 is a few daffodils. Programming to identify the n
Pi_computing
- 程序功能:计算圆周率 技术实现:利用RMI分布式C/S模式 圆周率计算方法位于服务器端 客户端控制圆周率精度位数 目录结构: 将home目录复制到c: 其内目录见RMI for Java.doc 测试方法: 步骤一: 运行compile.bat 编译java程序 步骤二: 运行run.bat 注册RMI服务器 步骤三: 运行server.bat 启动服务器 步骤四: 运行client.bat 运行客户程序,显示圆周率计算结果-
asd
- 水仙花数是三位数,它的各位数字的立方和等于这个三位数本身,例如:371=33+73+13, 371就是一个水仙花数。找出所有水仙花数
shuixianhuashu
- 本代码是实现三位数的水仙花数的求和,基于eclise开发的.java文件,代码简单,比较适合初学者-This code is to achieve three-digit sum of the number of daffodils, based on eclise development. Java files, the code is simple, suitable for beginners
java
- 水仙花数是三位数,它的各位数字的立方和等于这个三位数本身,例如:371=33+73+13, 371就是一个水仙花数。找出所有水仙花数.-Narcissus is the three-digit number, the digits of its cube is equal to the three-digit itself, for example: 371 = 33+73+13, 371 is a few daffodils. To find out the number of all d
narcissistic-number
- 打印出所有的 "水仙花数 ",所谓 "水仙花数 "是指一个三位数,其各位数字立方和等于该数本身。例如:153是一个 "水仙花数 ",因为153=1的三次方+5的三次方+3的三次方。-Print out the the " Narcissus number" , the so-called " Narcissus number" refers to a three-digit of its Members figures cubic equal to the nu
CreatePluginsConfig
- 背包问题扩展——解公司外包成本问题 小米所在的公司需要至少W个其他公司提供的外包人员,现在有N家公司向小米的公司提供了可选方案,其中 Pi代表可提供外包人员单位数,如5人为一个单位数,若选用该公司方案,则必须采用整单位数的人数,如5人为一个单位数,则X公司只能采用n*5个人数(n=0,1,2,….)。Ci代表为Pi单位数员工提供的总工资,单位是万元 输入格式: N W Pi C i 请问,采取什么样的方案可以满足公司花最少的开销招到至少W个外包人员,求出最少的开销金额。
test
- 有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? -there are four numbers,would you find uncommon number?
permutation-and-combination
- 有1、2、3、4个数字,能组成多少个互不相同且无重复数字的三位数?都是多少?-1,2,3,4 numbers can be formed with each other with no repeating three-digit numbers? How many are?
test
- 打印出所有的"水仙花数",所谓"水仙花数"是指一个三位数,其各位数字立方和等于该数本身。例如:153是一个"水仙花数",因为153=1的三次方+5的三次方+3的三次方。-Print out all the " daffodils" , the so-called " daffodils" refers to a three-digit number, which you figure cubic equal to the number itself. For e
java-five-code
- 函数一:判断从3到100之间有多少个素数,并输出所有的素数 函数二:如果一个数恰好等于它的因子之和,那么这个数就称为 "完数 ".此程序是找出1--500之间的所有完数并输出出来 函数三:有1、2、3四个数字,能组成多少个互不相同且无重复数字的三位数?都是多少? 函数四:输入三个整数a,b,c,请把这三个数由小到大输出。 函数五:输出乘法表(9*9)-Function one: determine how many prime numbers between 3-100 from
3
- 题目:打印出所有的 "水仙花数 ",所谓 "水仙花数 "是指一个三位数,其各位数字立方和等于该数本身。-Title: print out all of the "narcissus number ", the so-called " daffodil number " refers to a three digit, the all digital cube and equal to the number itself.
Lottery
- 编写一个彩票模拟程序: * 首先提示用户玩法: * 玩法一:21选5 * 输入五个不同的数(从1,2,3.....21中选) * 玩法二:6+1 * 输入七个数(代表购买彩票的号码,最后一位是特别号) * 根据用户选择的玩法,随机生成开奖号码,与用户输入的号码比较,判断是否中奖,中几等奖,输出结果 * 21选5 * 一等奖:五个号码相同 * 二等奖:四个号码相同 * 三等奖:三个号码相同 * 6+1
水仙花数
- 水仙花数是用来判断一个三位数的每几位数的第几次方之和是否为其本身(The number of cents spent is used to determine the sum of the first few digits of a three digit number, whether or not it is itself)