码迷,mamicode.com
首页 >  
搜索关键字:search box    ( 20571个结果
hust 1463 - 第二届“华为杯”初赛题目H
题目描述有m个盒子,第i个盒子的长尾hi,宽为wi。如果两个盒子i,j满足hi#include#includeusing namespace std;const int maxn=20001;struct node{ int x,y;}box[maxn];int a[maxn];bool cm...
分类:其他好文   时间:2014-05-20 02:11:24    阅读次数:251
VLV INDEX
Normally, when the Directory Server conducts a search, the server looks through the entire entry for a match, throughout the entire directory. For lar...
分类:其他好文   时间:2014-05-20 01:23:35    阅读次数:277
使用TFHpple解析html
使用TFHpple解析htmlhttps://github.com/topfunky/hpple前期准备工作引入静态库文件添加库文件的 header search paths(注意,必须选中 All)将从github上下载的源码包拖入工程当中准备工作结束使用详情我们来解析网址 http://www....
分类:Web程序   时间:2014-05-19 11:15:50    阅读次数:581
ThinkPHP 分页中带入查询(搜索)条件
parameter 属性赋值例如要检索用户表中状态为 1 (status=1) 并且电子包含 163 的用户,当提交表单时(注意表单是 GET 方式提交),形成的 URL 地址大致如下:http://www.5idev.com/index.php/Index/search/status/1/emai...
分类:Web程序   时间:2014-05-19 10:59:04    阅读次数:307
[snippet] get parameter
function(name) { var query=location.search.substring(1); var pairs=query.split("&"); for(var i=0;i<pairs.length;i++) ...
分类:其他好文   时间:2014-05-19 10:43:27    阅读次数:266
给thinkphp加个分页样式
1、css样式1.fpage{text-align:center;clear:both;padding-top:10px;}2.fpage a{font-size:14px;border:1pxsolid#ccc;padding:3px;box-shadow:0px0px3px#bbb;}3.fpa...
分类:Web程序   时间:2014-05-19 10:27:42    阅读次数:376
Leetcode | Validate Binary Search Tree
Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contains only n...
分类:其他好文   时间:2014-05-19 07:23:48    阅读次数:357
[leetcode]_Search Insert Position
题目:查找元素target插入一个数组中的位置。代码:public int searchInsert(int[] A, int target) { int len = A.length; int i; for(i = 0 ; i < len ; i++){ ...
分类:其他好文   时间:2014-05-18 20:28:13    阅读次数:299
Leetcode | Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-05-17 14:45:17    阅读次数:290
poj 1200 Crazy Search
题目:     链接:点击打开链接 题意:     输入n和nc,以及字符串s,输出长度为n的不同字串的个数。 算法:      思路:     用hash判重(hash值。。。。。。),看了大牛的代码,对hash还是不甚理解。。。。 代码:#include #include #include #include using namespace std; #define MAXN 1...
分类:其他好文   时间:2014-05-15 23:25:24    阅读次数:404
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!