题目链接http://acm.hdu.edu.cn/showproblem.php?pid=1256这题做的我好苦,开始题目理解错了,一直都不对,仔细看题,别急,慢慢来,别紧张,难度到不大,但题目要仔细看懂,看懂了就可直接做了我的AC代码#includeint main(void){ int ...
分类:
其他好文 时间:
2014-08-23 16:33:41
阅读次数:
169
LAMP:linux + apache +mysql+php
1、安装Ubuntu server
2、修改root账户密码 【su/sudo】
3、SSH/FTP server
4、安装apache
5、安装mysql
6、安装php...
分类:
系统相关 时间:
2014-08-23 15:25:31
阅读次数:
407
题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=79思路:最长上升子序列的变形,反过来用就可以了,即最长下降子序列。l[i]表示以第i个数为最小值的最长下降子序列长度。代码: #include #include using namespa....
分类:
其他好文 时间:
2014-08-23 15:23:20
阅读次数:
235
1.打开在浏览器打开phpinfo页面查看PHP的版本号、TS(线程安全)版是NTS(非线程安全)版,以及VC6版本还是VC9版本
2.下载和上面版本对应的xdebug:http://xdebug.org/download.php(我的是php_xdebug-2.2.5-5.4-vc9-x86_64.dll)
3.将php_xdebug-2.2.5-5.4-vc9-x86_64.d...
分类:
系统相关 时间:
2014-08-23 14:03:31
阅读次数:
318
var url = 'http://www.deikang.com/index.php?tel=15811296111&status=1&id=100';var n = url.indexOf('?');//alert(n);var m = url.substring(n + 1, url.leng...
分类:
Web程序 时间:
2014-08-23 13:59:20
阅读次数:
148
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1395这题一定要滴水不漏的把所有代码全部看完。这个题目是一个数学类型的题,我也没思路,只知道n==1||n%2==0时,x是找不到的,其他则不知道还有没有n存在x是找不到的,还有一个,暴力搜索时不知道搜到...
分类:
其他好文 时间:
2014-08-23 13:59:10
阅读次数:
196
题目链接:http://acm.nyist.net/JudgeOnline/problem.php?pid=49思路:典型的01背包问题。权值为a*b。哎提交了好几次才A掉,还是做的题少了。。代码: #include #include using namespace std;int dp[30001...
分类:
其他好文 时间:
2014-08-23 13:56:00
阅读次数:
187
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=13952^x mod n = 1Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total S...
分类:
其他好文 时间:
2014-08-23 13:54:10
阅读次数:
197
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1431素数回文Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission...
分类:
其他好文 时间:
2014-08-23 13:53:50
阅读次数:
124
一个例子便能说明一切,让我们先看一个例子 为了说明如何应用nusoap和php来构建web services,我们将举一个简单的例子。这个例子应用程序由一个php web services的服务器端和客户端组成。他将实现两个功能:颠倒一...
分类:
Web程序 时间:
2014-08-23 12:49:00
阅读次数:
191