码迷,mamicode.com
首页 >  
搜索关键字:mac os x    ( 157391个结果
js获取ajax返回值
z = $.ajax({url:"__URL__/add/",type:'POST',dataType:"json",async:false,cache:false,data:"step=ajax&ajax_type=checkEmail&email="+email,}).responseText;...
分类:Web程序   时间:2014-07-22 23:05:52    阅读次数:374
初涉分组背包 HDU 1561 The more,The better
给出一个森林,每棵树均为一组物品,首先推出每棵树可以组成的物品种类。 然后是基本的分组背包模板。 即 最外层枚举组数,次外层枚举背包容量,内层枚举物品体积。  对于每棵树有 ans[root][i+j] = ans[root][ i ] + ans[son][ j ]。  题水数据也水,不多说了。 #include #include #include #include #in...
分类:其他好文   时间:2014-07-22 23:05:52    阅读次数:387
ubuntu下编译undefined reference to error解决方法
undefined reference to error解决方法 Linux下编译程序时,经常会遇到“undefined reference error” 报错,   这里总结一些可能的原因和解决方案,给需要的朋友:   说道undefined reference error,先提一下Linux gcc链接规则:   链接的时候查找顺序是:...
分类:其他好文   时间:2014-07-22 23:05:33    阅读次数:361
用两个栈实现一个队列
面试题:用两个栈实现一个队列...
分类:其他好文   时间:2014-07-22 23:04:54    阅读次数:253
Codeforces Amusing Joke 题解
So, the New Year holidays are over. Santa Claus and his colleagues can take a rest and have guests at last. When two "New Year and Christmas Men" meet, thear assistants cut out of cardboard the letter...
分类:其他好文   时间:2014-07-22 23:03:53    阅读次数:521
电脑常识之查看系统启动时间
1. “开始→运行”,输入CMD,然后在MS-DOS 提示符后键入:net statistics workstation 指令输出信息的第一行,就是计算机上次启动的时间 2. 在Windows 03中:单击“开始→程序→附件→系统工具→系统信息”命令,在“系统信息”程序窗口中显示的“Uptime”,就是Windows 98自开机以来运行的时间,精确到秒。在打开的“系统信息”窗口中,可...
分类:其他好文   时间:2014-07-22 23:03:33    阅读次数:313
codeforces Buttons 数学公式构建
这样的题目虽然不难,但是要构建个数学公式还真不容易的。 做多了,居然有感觉了,可以感知到大概公式是什么样的,然后验证它。 本题公式就是: S = n + (n-1) + (n-2) * 2 + (n - 3) * 3 ... 至于怎么想出来的?...
分类:其他好文   时间:2014-07-22 23:03:15    阅读次数:276
asp.net,copy网页的代码去掉格式化代码前面的序号
string path = Server.MapPath("copycode/code.txt"); string[] allCodeLine = System.IO.File.ReadAllLines(path, System.Text.Encoding.UTF8); System.Text.StringBuilder strb = new Sys...
分类:Web程序   时间:2014-07-22 23:02:54    阅读次数:366
linux下gdal的搭建
[源码编译] 前期准备: 确认电脑上安装好g++等开发环境,否则执行 sudo apt-get install build-essential     2.  确认电脑上已经安装好svn以便下载最新的源代码,否则执行 sudo apt-get install subversion   3.  确保proj4的安装 $ curl -O...
分类:系统相关   时间:2014-07-22 23:02:53    阅读次数:2542
struts2原理剖析
在使用struts之前,我们必须了解servlet的运行,因为任何一个J2EE框架都是支持servlet的。 而servlet的执行过程,简单的说如下: 1.服务器接收请求 2.经过一个过滤器链对请求进行处理 3.调用serlvet的doget或dopost方法 4.过滤器链对应答进行处理 6.返回用户 而过滤器和servlet,我们都可以在web.xml中进行配置。 那么,现在主...
分类:其他好文   时间:2014-05-01 18:01:37    阅读次数:287
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!