02 2018 档案

摘要:基本爬虫框架,注意raise_fo_status与try,except的配合使用,方便检查错误 阅读全文
posted @ 2018-02-28 21:16 zzuli风尘 阅读(145) 评论(0) 推荐(0) 编辑
摘要:简单爬图片,功能需增强 大佬代码: 1 import requests 2 from bs4 import BeautifulSoup 3 circle = requests.get('http://travel.quanjing.com/tag/12975/%E9%A9%AC%E5%B0%94%E 阅读全文
posted @ 2018-02-28 18:46 zzuli风尘 阅读(167) 评论(0) 推荐(0) 编辑
摘要:第一次使用爬虫,python的功能由衷的强大,不过遭遇的运程主机的强行关闭,基本只能下载前几章就会遭遇强行关闭,下一价段争取解决 阅读全文
posted @ 2018-02-27 18:30 zzuli风尘 阅读(534) 评论(1) 推荐(0) 编辑
摘要:FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean. The warehouse has 阅读全文
posted @ 2018-02-20 21:43 zzuli风尘 阅读(110) 评论(0) 推荐(0) 编辑
摘要:链接:https://www.nowcoder.com/questionTerminal/d83721575bd4418eae76c916483493de来源:牛客网广场上站着一支队伍,她们是来自全国各地的扭秧歌代表队,现在有她们的身高数据,请你帮忙找出身高依次递增的子序列。 例如队伍的身高数据是( 阅读全文
posted @ 2018-02-20 17:13 zzuli风尘 阅读(164) 评论(0) 推荐(0) 编辑
摘要:Given a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in th 阅读全文
posted @ 2018-02-20 15:32 zzuli风尘 阅读(151) 评论(0) 推荐(0) 编辑
摘要:Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something happens to this process 阅读全文
posted @ 2018-02-20 11:11 zzuli风尘 阅读(351) 评论(0) 推荐(0) 编辑
摘要:夏天来了~~好开心啊,呵呵,好多好多水果~~ Joe经营着一个不大的水果店.他认为生存之道就是经营最受顾客欢迎的水果.现在他想要一份水果销售情况的明细表,这样Joe就可以很容易掌握所有水果的销售情况了. Input第一行正整数N(0<N<=10)表示有N组测试数据. 每组测试数据的第一行是一个整数M 阅读全文
posted @ 2018-02-19 23:24 zzuli风尘 阅读(354) 评论(0) 推荐(0) 编辑
摘要:Misha hacked the Codeforces site. Then he decided to let all the users change their handles. A user can now change his handle any number of times. But 阅读全文
posted @ 2018-02-19 21:08 zzuli风尘 阅读(177) 评论(0) 推荐(0) 编辑
摘要:Ignatius is so lucky that he met a Martian yesterday. But he didn't know the language the Martians use. The Martian gives him a history book of Mars a 阅读全文
posted @ 2018-02-19 16:14 zzuli风尘 阅读(227) 评论(0) 推荐(0) 编辑
摘要:Contest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popula 阅读全文
posted @ 2018-02-19 14:43 zzuli风尘 阅读(160) 评论(0) 推荐(0) 编辑
摘要:A - Ignatius and the Princess II Now our hero finds the door to the BEelzebub feng5166. He opens the door and finds feng5166 is about to kill our pret 阅读全文
posted @ 2018-02-19 11:29 zzuli风尘 阅读(270) 评论(0) 推荐(0) 编辑
摘要:大学一年级的上半期的计划的好像没实现,不过好像也没计划什么吧? 下学期就立个计划吧,当大一结束的时候是笑自己还是感觉自己很牛呢,反正现在的我是希望那时的我是笑着说自己很牛,嗯嗯,我觉的自己会的,真的吧? 下学期现在知道的活动有蓝桥杯,校赛,而这些都是计算机学院的大事,也是学长学姐会参加的比赛,虽然身 阅读全文
posted @ 2018-02-18 22:33 zzuli风尘 阅读(140) 评论(0) 推荐(0) 编辑
摘要:从今天开始给自己写点东西,目的是让自己在大学保持的对计算机的热爱,对未来的计划; 大学的第一学期已经过去,说实话,有点沮丧,我们班(当然也包括我)在学校的新生赛上表现 的不太好,当然获奖的人员我们班是最多的,这一学期参加的活动太多了,说是妨碍学习有点作了, 不过我感觉花的时间有点多了,比如129大合 阅读全文
posted @ 2018-02-18 22:32 zzuli风尘 阅读(106) 评论(0) 推荐(0) 编辑
摘要:find(): 返还指向该迭代器的指针,找不到返还last;lnlt find(lnlt first,lnlt last ,const T&val);范围[first,last); list:不支持stl中的算法 sort; 阅读全文
posted @ 2018-02-18 17:31 zzuli风尘 阅读(78) 评论(0) 推荐(0) 编辑
摘要:template是一个泛化的:使用template时开始仅仅是声明,具体的例如:k<int> a;叫做实例化显式实例化:类似k<int>a;明确指出哪种类型;隐式实例化:类似k<>a;没有说明类型,有编译器自动匹配特化:(个人认为就是自己制定template 中T的作用) 操作符重载: 复习stl: 阅读全文
posted @ 2018-02-18 17:23 zzuli风尘 阅读(174) 评论(0) 推荐(0) 编辑
摘要:list :Lists将元素按顺序储存在链表中. 与 向量(vectors)相比, 它允许快速的插入和删除,但是随机访问却比较慢. assign() 给list赋值 back() 返回最后一个元素 begin() 返回指向第一个元素的迭代器 clear() 删除所有元素 empty() 如果list 阅读全文
posted @ 2018-02-18 16:53 zzuli风尘 阅读(2036) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示