<?php/**@冒泡排序面试总结*/$arr=array(9,3,2,1,8,4,100,99,23,45,67,87,1234);echo‘<pre>‘;print_r(SortAsc($arr));echo‘</pre>‘;echo‘<pre>‘;print_r(SortDesc($arr));echo‘</pre>‘;/**@冒泡排序*@排序算法*@从小到大排序*@只支持一维数组*/func..
分类:
编程语言 时间:
2015-02-02 20:05:16
阅读次数:
198
Notes for pre-installation: 1). You need to check whether your PC operating system is Win 7 or not (Volvo Dice 2014A supports Win 7). 2). Check your D...
分类:
移动开发 时间:
2015-02-02 19:34:03
阅读次数:
248
先存下,省的麻烦:Pre-requisitesRather than reproduce all the documentation of the mainGoogle Protocol Buffers project page, I'll just reference it - so please...
分类:
其他好文 时间:
2015-02-02 12:20:58
阅读次数:
1941
潜水多年,一直在从别人那里获取经验,现在觉得也应当分享分享了; 今天终于自己亲手变异了一把(在公司,环境都已经配好了); -------------------------正文-------------------------------- pre: 系统:UBU...
分类:
移动开发 时间:
2015-02-01 09:40:10
阅读次数:
156
pre_forum_postposition抢楼帖时会用到CREATE TABLE `pre_forum_postposition` ( `tid` mediumint(8) unsigned NOT NULL, `position` int(10) unsigned NOT NULL AUTO.....
分类:
Web程序 时间:
2015-01-30 15:34:44
阅读次数:
146
优化前:SELECT a.* FROM t1 a,(SELECT obj_id,MAX(PRE_DETAIL_INST_ID) PRE_DETAIL_INST_ID FROM t1 WHERE DATE_FORMAT(crt_date,'%Y-%m-%d %H') = DATE_FORMAT(DAT...
分类:
数据库 时间:
2015-01-30 15:08:35
阅读次数:
308
ci/core/CodeIgniter.php是ci框架的核心处理文件,其处理流程如下:1require了3个文件BASEPATH
core/Common.php
core/Compat.php
APPPATH
config/constants.php2加载Benchmark,并打时间戳3加载Hooks,并调用钩子pre_system4加载Config、URI、Input和Language5加载并解析Rou..
分类:
Web程序 时间:
2015-01-29 19:44:10
阅读次数:
205
错误如下: Ignoring required pre-requisite failures. Continuing... Preparing to launch Oracle Universal Installer from /tmp/OraInstall2015-01-29_03-14-51AM...
分类:
数据库 时间:
2015-01-29 17:28:53
阅读次数:
2515
#include #include #include #include #include using namespace std;#define INF 0xfffff //因为为了辨别是否有负权,所以INF不能开太大#define MAX 1100float dist[MAX], pre[MAX]...
分类:
其他好文 时间:
2015-01-29 14:10:49
阅读次数:
135
#include #include using namespace std;#define INF 999999#define MAX 11000int dist[MAX], pre[MAX], path[MAX][MAX], sum, tax[MAX];bool sign[MAX];void in...
分类:
其他好文 时间:
2015-01-29 14:03:12
阅读次数:
313