Codeforces 844A
摘要:#include #include bool cnt[30]; int main() { char t; int ans=0; //重复字符数 int num=0; //字符长度 memset(cnt,false,sizeof(cnt)); while(1) { t=getchar(); if(t=='\n'...
阅读全文
posted @
2017-08-31 23:40
Kevin_Zzzzz
阅读(138)
推荐(0)
Python2.7 基于bs4与requests库的网页图片简单爬取
摘要:爬虫入门新手,自学笔记,如果理解有错误请指正。 BeautifulSoup库的find_all函数可以搜索返回的网页源码中参数对应的标签对象。 尝试打印一下获取的img标签内容。 我们可以看到一大堆img标签内容,比如 <img src="http://static.nipic.com/images
阅读全文
posted @
2017-08-26 22:35
Kevin_Zzzzz
阅读(251)
推荐(0)