码迷,mamicode.com
首页 >  
搜索关键字:php gd    ( 81407个结果
FZU Problem 2034 Password table (简单模拟题)
这种简单题做了好长时间,我是不是有点逗?地址:http://acm.fzu.edu.cn/problem.php?pid=2034不解释了,自己看吧,练手的好题上个代码吧#include #include #include int main(){ int s,n,m,i,j,k,t; c...
分类:其他好文   时间:2014-05-10 02:14:11    阅读次数:328
初接触Linux,LAMP的构架
今天给大家带来的是LAMP的构架一、LAMP简介LAMP(Linux-Apache-MySQL-PHP)网站架构是目前国际流行的Web框架,该框架包括:Linux操作系统,Apache网络服务器,MySQL数据库,Perl、PHP或者Python编程语言,所有组成产品均是开源软件,是国际上成熟的架构框架,很多流行的商业应..
分类:系统相关   时间:2014-05-05 12:38:59    阅读次数:579
php中奖概率算法,可用于刮刮卡,大转盘等抽奖算法
php中奖概率算法,可用于刮刮卡,大转盘等抽奖算法。用法很简单,代码里有详细注释说明,一看就懂?123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555...
分类:Web程序   时间:2014-05-05 10:55:07    阅读次数:377
hdu 1598 find the most comfortable road
http://acm.hdu.edu.cn/showproblem.php?pid=1598 1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6 const int inf=1<<30; 7...
分类:其他好文   时间:2014-05-05 10:53:38    阅读次数:344
hdu 1599 find the mincost route
http://acm.hdu.edu.cn/showproblem.php?pid=1599floyd找最小环。 1 #include 2 #include 3 #include 4 #define maxn 200 5 using namespace std; 6 const int inf...
分类:其他好文   时间:2014-05-05 10:52:15    阅读次数:315
php函数
function Http_num() //浏览计数 在同目录里建立一个count文件,访问网页次数计算结果保存在这里count文件里{ $hanld=fopen(".count.txt","a"); fclose($hanld); ...
分类:Web程序   时间:2014-05-05 10:44:20    阅读次数:406
HDU 3998 Sequence(经典问题,最长上升子序列)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=3998解题报告:求一个数列的最长上升子序列,并求像这样长的不相交的子序列最多有多少个。我用的是最简单的方法,就是每次求最长上升子序列,然后每次将求得的子序列从数列里面删掉,然后再对剩下的数列求最长上升子序...
分类:其他好文   时间:2014-05-05 10:04:28    阅读次数:236
PHP中的魔术方法总结
__construct, __destruct , __call, __callStatic,__get, __set, __isset, __unset , __sleep, __wakeup, __toString, __set_state, __clone and __autoload
分类:Web程序   时间:2014-05-05 09:38:23    阅读次数:488
复习PHP-语言参考-预定义接口
1.Traversable他是一个遍历接口规范注意:发现一个有用的函数get_declared_classes,可以以数组形式显示当前脚本下所有已经定义的类名2.IteratorIterator迭代器继承自Traversable,是一种遍历对象内容的对象。你可以自己写一个子类继承自它,并写上具体遍历的方法。Iterator包含..
分类:Web程序   时间:2014-05-04 17:18:46    阅读次数:472
枚举功能类
enum.php/** *本类主要是实现枚举的功能 *@paramunknown_type$base_class *@paramunknown_type$args *@paramunknown_type$codeArgs */ functionenum($base_class,array$args,array$codeArgs){ $class_parts=preg_split(‘/\s+/‘,$base_class); $base_class_name=array_shift($cl..
分类:其他好文   时间:2014-05-04 17:14:55    阅读次数:279
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!