码迷,mamicode.com
首页 >  
搜索关键字:le ge lt gt eq ne    ( 256714个结果
哇!板球 源码分析一
游戏主菜单页面 BeginLayer类封装该页面,init函数初始化该页面布景 该页面背景 isDialog = false; setKeypadEnabled(true); //开启按键事件 CCSize visibleSize = CCDirector::sharedDirector()->getVisibleSize(); CCPoint or...
分类:其他好文   时间:2014-06-02 23:10:45    阅读次数:279
projecteuler---->problem=12----Highly divisible triangular number
title: The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10,...
分类:其他好文   时间:2014-06-01 10:31:26    阅读次数:233
projecteuler---->problem=11----Largest product in a grid
In the 2020 grid below, four numbers along a diagonal line have been marked in red. 08 02 22 97 38 15 00 40 00 75 04 05 07 78 52 12 50 77 91 08 49 49 99 40 17 81 18 57 60 87 17 40 98 43 69 48 04 56 ...
分类:其他好文   时间:2014-06-01 10:04:38    阅读次数:419
实验案例:删除文件系统日志组,保留ASM日志组
实验案例:删除文件系统日志组,保留ASM日志组 说明: oracle文件系统迁移至ASM,需要删除文件系统的日志组,只保留ASM日志组。若两者均保留,会出现读写日志性能不平衡状态。向ASM中读写日志要远快于向文件系统中读写日志。 操作步骤: SQL> select * from v$log; --查看到当前日志组为2,第1、3日志组处于INACTIVE状态,脏块已经写完,可以将这...
分类:其他好文   时间:2014-06-01 09:58:48    阅读次数:365
贝叶斯分类器
贝叶斯分类是统计学的一个分类方法,基于贝叶斯定理。首先贝叶斯分类的一个核心假设是一个属性值对给定类的影响独立于其他属性的值(类条件独立)。 先来看下条件概率: 设A、B是两个事件,且P(B)>0,则称 为在事件B发生的条件下,事件A的条件概率。 再来看一下贝叶斯定理:。 其中: X 是类标识未知的数据样本(或数据元组) 如:35岁收入$4000的顾客 ...
分类:其他好文   时间:2014-06-01 09:52:51    阅读次数:235
AVL平衡树的插入例程
/* **AVL平衡树插入例程 **2014-5-30 11:44:50 */ avlTree insert(elementType X, avlTree T){ if(T == NULL){ T = malloc(sizeof(struct avlTree)); if(T == NULL) fatalError("Out of space!!!"); T->element = X...
分类:其他好文   时间:2014-06-01 09:50:16    阅读次数:233
projecteuler---->problem=9----Special Pythagorean triplet
title: A Pythagorean triplet is a set of three natural numbers, a b c, for which, a2 + b2 = c2 For example, 32 + 42 = 9 + 16 = 25 = 52. There exists exactly one Pythagorean triplet for wh...
分类:其他好文   时间:2014-06-01 09:17:53    阅读次数:251
projecteuler---->problem=10----Summation of primes
title: The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two million. 翻译: 10以下的质数的和为2 + 3 + 5 + 7 = 17。 请求出200,0000以下所有质数的和。 import math,time d...
分类:其他好文   时间:2014-06-01 09:12:31    阅读次数:239
jQuery几个经典表单应用整理回顾
1、文本框获得(失去)焦点 当文本框获得输入焦点时,将该文本框高亮显示,算不得一个应用,只是一个小技巧,可以提高用户体验。 [html] view plaincopy span style="font-family:SimSun;font-size:12px;">>   html xmlns="http://www.w3.org/19...
分类:Web程序   时间:2014-06-01 09:06:26    阅读次数:539
MySQL中数据表的增操作
今天学习到表的增操作,写个博客总结一下,PS:下面所有的注释都是我在电脑上全部操作完成后,再复制到记事本上添加的。至于在执行的时候可不可以那样添加注释,就有待考证了。 选择库 mysql> show databases;#查看目前有哪些数据库存在 +--------------------+ | Database | +--------------------+ | inf...
分类:数据库   时间:2014-06-01 05:34:00    阅读次数:453
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!