搜索资源列表
CountEachLetter
- 计算输入的字符串中每个字母有多少个,不分大小写-Calculate the input string in each letter, not case sensitive
Magic_pocket
- 有一个神奇的口袋,总的容积是40,用这个口袋可以变出一些物品,这些物品的总体积必须是40。John现在有n个想要得到的物品,每个物品的体积分别是a1,a2……an。John可以从这些物品中选择一些,如果选出的物体的总体积是40,那么利用这个神奇的口袋,John就可以得到这些物品。现在的问题是,John有多少种不同的选择物品的方式。 -Have a magic pocket, the total volume is 40, this pocket can conjure up some of th
jquery.jfontsize-1.0
- jFontsize是一个轻量级的易于使用的jQuery插件,用于在页面上创建A+、A-这样的按钮以便于改变字体的大小。支持可让自定义按钮的样式,通过参数可以设置字体最大可改变多少次,以及每次变化的量等。以方便不同的用户浏览网页。在网页中增加这样的一个功能,能够很有效的提高用户体验。-jFontsize is a lightweight, easy-to-use jQuery plugin for A+ create page A-button in order to change the fon
prime
- 判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。 */ -Determine 101-200 between the number of primes, and output of all primes. A program analysis: judgment Primes: respectively removed by a number of 2 to s
Qishizhouyou_c
- 骑士周游,得知走法与可达度计算共走了多少步-The Knights traveled, learned that moves up to calculation of how many steps away
Time
- 实现对时间的不同格式的输出,计算当前时间或者之后之前n天时间是多少,判断当前是否是闰年。函数已经写好,根据自己的需要进行输出即可。-Achieve different formats of output versus time to calculate the current time, or after n days before the number, it is judged whether the current is a leap year. Function has been wri
ban-zhuan
- 用穷举法解决以下问题:36块砖,36人搬,男搬4,女搬3,两个小孩抬1砖。要求一次全搬完,问男、女、小孩有多少?-The brute-force method to solve the following problem: 36 bricks, 36 people move, the men moved 4 female moved two children lift a brick. Require full-time to move those, ask men and women, how
tuzi
- 古典问题:有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第三个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 提示:兔子的规律为数列1,1,2,3,5,8,13,21.... -Classical question: one pair of rabbits, one pair of rabbits are born from the month from 3 months after birth, a small rabbit gave birth to
Partition
- 集合划分问题。给定正整数 n,计算出n 个元素的集合{1,2, , n }可以划分为多少个不同的非空子集。-Set partitioning problem. Given a positive integer n, calculate the n elements of the set {1,2, , n} can be divided into a number of different non-empty sets.
Keyboard-mouse-response
- 在窗口中用鼠标左键和右键单击时,窗口下方显示哪个键被点击,坐标是多少;当键盘上某个键被点击时,窗口下方显示这个键的名称。-In the window with the left mouse button and right-click, below the window display which key is to click, how much is the coordinate When the keyboard on a key is click, window below shows
Count
- Java闹钟,实现闹钟使用和计时,用于计算距离某天多少天-Java Clock,implement Clock and Count days
Divide
- 给定正整数n,计算出n个元素的集合{ n , , 2 , 1 }可以划分为多少个不同的非空子集。-Given positive integer n, calculate the set of n elements {n, 2, 1 } can be divided into a number of different nonempty set.
paginate
- java通用分页类,有参数当前页,上一页,下一页,最大页数,已经具体多少页。-java generic pagination class, the parameters of this page, Previous, Next, the maximum number of pages has been specifically how many pages.
smali.c.tar
- 找到smali语言中p寄存器使用的个数 通过输入方法名的那一行 输出这一方法一共有多少个p寄存器-Find the number of the p register smali language use by the input method name of the line output of this method the number of p register
Queen
- 在8X8格的国际象棋上摆放八个皇后,使其不能互相攻击,即任意两个皇后都不能处于同一行、同一列或同一斜线上,问有多少种摆法。-The queen issue
netshop
- 使用Java语言编写一个模拟网上超市购物结算功能的程序,要求程序运行后有一个图形用户界面,可供用户查询购买的各种商品相关信息,最后给出用户的购物清单及价格,并且用户可以根据需要查询自己购买的第几项商品的详细信息。 需求分析: 1.用户每购买一种商品就在购物车中添加一条信息,添加的信息包括商品名称、数量和单价 2.用户可以删除已购买的某一种商品 3.用户可以查询已购买的一种商品的详细信息,查询时要指明查询的商品的记录号是多少(商品记录号是按照商品购买次序编的),还可以指定查询第一个
monkey-get-one
- 话说某天一艘海盗船被天下砸下来的一头牛给击中了,5个倒霉的家伙只好逃难到一个孤岛,发现岛上孤零零的,幸好有有棵椰子树,还有一只猴子!大家把椰子全部采摘下来放在一起,但是天已经很晚了,所以就睡觉先. 晚上某个家伙悄悄的起床,悄悄的将椰子分成5份,结果发现多一个椰子,顺手就给了幸运的猴子,然后又悄悄的藏了一份,然后把剩下的椰子混在一起放回原处,最后还是悄悄滴回去睡觉了. 又过了一会 ...... 又过了一会 ... 总之5个家伙都起床过,都做了一样的事情。早上大家都起床,
calculate
- 数学问题,ABCD四种物品,价格不同,给出总价,求出各买了多少。算法实现-Mathematical problems, ABCD four items, the price is different, given the total price to acquire each bought. Algorithm
anroidrp
- 一个运行在Android手机客户端的人品测试器程序,由Java源码实现,可根据输入的年龄、姓名和幸运数字产生测试结果,能告诉你人品值是多少,呵呵,一个简单的Android小游戏,源代码仅供娱乐,学习参考。-A run on the Android mobile client personality test procedures, by the Java source code implementation, test results can be generated based on the
market
- 网上超市购物结算功能模拟 用户每购买一种商品就在购物车中添加一条信息,添加的信息包括商品名称、数量和单价 2.用户可以删除已购买的某一种商品 3.用户可以查询已购买的一种商品的详细信息,查询时要指明查询的商品的记录号是多少(商品记录号是按照商品购买次序编的),还可以指定查询第一个或最后一个购买的商品信息。 4.用户可以删除所有已添加到购物车的商品 5.用户可以打印要购买的商品的清单 6.用户可以清空显示信息的窗口 7.用户可以要求结帐,系统会打印出用户购物清单,并给出