上一页 1 2 3 4 5 6 7 ··· 12 下一页
摘要: 今天来做一个PHP电影小爬虫。我们来利用simple_html_dom的采集数据实例,这是一个PHP的库,上手很容易。simple_html_dom 可以很好的帮助我们利用php解析html文档。通过这个php封装类可以很方便的解析html文档,对其中的html元素进行操作 (PHP5+以上版本)下... 阅读全文
posted @ 2015-09-12 22:26 煎饼馃子 阅读(270) 评论(0) 推荐(0) 编辑
摘要: 一直以来使用php解析html文档树都是一个难题。Simple HTML DOM parser帮我们很好地解决了使用 php html 解析 问题。可以通过这个php类来解析html文档,对其中的html元素进行操作 (PHP5+以上版本)。解析器不仅仅只是帮助我们验证html文档;更能解析不符合W... 阅读全文
posted @ 2015-09-12 17:57 煎饼馃子 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 int main()10 {11 char str[120];12 while(~scanf(... 阅读全文
posted @ 2015-07-05 09:14 煎饼馃子 阅读(186) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 int main()10 {11 //freopen("in.txt","r",stdin);12 ... 阅读全文
posted @ 2015-07-05 09:05 煎饼馃子 阅读(150) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 int map[60][10]; 9 int main()10 {11 int n,m;12 whi... 阅读全文
posted @ 2015-07-03 08:39 煎饼馃子 阅读(129) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2022二B了,没读题直接错了两次。。。。郁闷 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using name... 阅读全文
posted @ 2015-06-05 19:32 煎饼馃子 阅读(139) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=2021water~~~ 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 9 i... 阅读全文
posted @ 2015-06-05 18:48 煎饼馃子 阅读(385) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1715模板大数: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #inc... 阅读全文
posted @ 2015-06-05 18:29 煎饼馃子 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 来源:http://blog.csdn.net/vsooda/article/details/72936551001 这个就不用说了吧1002 简单的大数1003 DP经典问题,最大连续子段和1004 简单题1005 找规律(循环点)1006 感觉有点BT的题,我到现在还没过1007 经典问题,最近... 阅读全文
posted @ 2015-06-04 19:46 煎饼馃子 阅读(135) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1874 1 //标准最短路模板 2 //需要注意的是两点间可能有多组 3 //需要取最短的 4 #include 5 #include 6 #include 7 #include 8 #include 9 #inc... 阅读全文
posted @ 2015-05-29 20:43 煎饼馃子 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 12 下一页