码迷,mamicode.com
首页 >  
搜索关键字:search    ( 12380个结果
跨discuz站获取
1、在需要取得formhash的页面加入下面js代码,还需要jquery库。2、在search.php修改最后面部分,if(trim($_GET['hash']) && !empty($_GET['hash'])){ die($_GET['jsoncallback'] . '(' . json_en...
分类:其他好文   时间:2014-07-03 09:43:10    阅读次数:333
js 获取当前url参数
2014-7-1 应用在某内网应用排序管理页面跳转:function goSortManage() { var name = 'TypeID'; var TypeID = "0"; var url = location.search; //获取url中"?"符后的字串 var theRequest....
分类:Web程序   时间:2014-07-03 00:43:57    阅读次数:299
Leetcode Unique Binary Search Trees
Givenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a total of 5 unique BST's. 1.....
分类:其他好文   时间:2014-07-02 22:13:23    阅读次数:191
ACM:二分查找,以及利用二分法来找上下界
(一)二分的模版: int binary_search(int *array, int length, int key) { int start = 0, end = length - 1; while(end >= start) { int middle = start + (end - start) / 2; int tmp = array[middle]; if(tmp <...
分类:其他好文   时间:2014-07-02 08:19:05    阅读次数:211
解决eclipse使用Search弹出错误问题
在eclipse中搜索时,搜索完之后有时候会弹出错误对话框,虽然错误内容有时候不同,但是解决办法都一样。这个问题是由于eclipse中文件不同步引起的。在eclipse中,工程文件是由eclipse自动扫描添加的,如果在外部修改了工程目录中的文件但又关闭了自动刷新功能,则会引起文件不同步,从而搜索时...
分类:系统相关   时间:2014-07-01 20:38:43    阅读次数:654
An A-Z Index of the Apple OS X command line
来源:http://ss64.com/osx/An A-Z Index of theApple OS Xcommand line alias Create an alias ? alloc List used and free memory apropos Search t...
分类:移动开发   时间:2014-07-01 17:46:48    阅读次数:384
LeetCode——Search Insert Position
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You may assume no duplicates in the array....
分类:其他好文   时间:2014-07-01 15:22:44    阅读次数:140
ubuntu自动安装软件apt-get命令
转自:http://blog.csdn.net/chen861201/article/details/7035021apt-cache search package 搜索包apt-cache show package 获取包的相关信息,如说明、大小、版本等sudo apt-get install p...
分类:其他好文   时间:2014-07-01 13:12:46    阅读次数:258
leecode 树是否是平衡树 java
https://oj.leetcode.com/problems/validate-binary-search-tree/1.中序遍历是否有序/** * Definition for binary tree * public class TreeNode { * int val; * ...
分类:编程语言   时间:2014-07-01 12:20:06    阅读次数:173
怎样通过boost库的breadth_first_search算法查找点到点的最短路径
0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 F 0 0 1 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 S 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 namespace matrix {...
分类:其他好文   时间:2014-07-01 07:14:32    阅读次数:221
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!