博客园 - 恶魔岛
uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=160363
2020-11-01T16:04:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
feed.cnblogs.com
https://www.cnblogs.com/biaobiao88/p/13911869.html
PyCharm爬虫实例:使用Scrapy抓取网页特定内容、数据采集与数据预处理--biaobiao88 - 恶魔岛
Scraoy入门实例一 Scrapy介绍与安装&PyCharm的安装&项目实战 一、Scrapy的安装 1.Scrapy介绍 Scrapy是一个为了爬取网站数据,提取结构性数据而编写的应用框架。可以应用在包括数据挖掘,信息处理或存储历史数据等一系列的程序中。其最初是为了页面抓取 (更确切来说,网络抓
2020-11-01T15:29:00Z
2020-11-01T15:29:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】Scraoy入门实例一 Scrapy介绍与安装&PyCharm的安装&项目实战 一、Scrapy的安装 1.Scrapy介绍 Scrapy是一个为了爬取网站数据,提取结构性数据而编写的应用框架。可以应用在包括数据挖掘,信息处理或存储历史数据等一系列的程序中。其最初是为了页面抓取 (更确切来说,网络抓 <a href="https://www.cnblogs.com/biaobiao88/p/13911869.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/13910880.html
Ubuntu中安装Hadoop出现的问题 - 恶魔岛
本博客参考该链接安装,以下为个人安装的过程以及遇到的问题,仅供参考。 http://dblab.xmu.edu.cn/blog/2441-2/ 要在Ubuntu虚拟机中安装Hadoop的前提是安装了virtualBox和Ubuntu18.04(我正在使用的)或其他版本,如未在电脑中安装虚拟机,请参考
2020-11-01T11:43:00Z
2020-11-01T11:43:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】本博客参考该链接安装,以下为个人安装的过程以及遇到的问题,仅供参考。 http://dblab.xmu.edu.cn/blog/2441-2/ 要在Ubuntu虚拟机中安装Hadoop的前提是安装了virtualBox和Ubuntu18.04(我正在使用的)或其他版本,如未在电脑中安装虚拟机,请参考 <a href="https://www.cnblogs.com/biaobiao88/p/13910880.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12621053.html
最大子数组和问题 - 恶魔岛
题目描述:最大子数组和问题 1.元素个数不超过100个,存储在文本文件中。 2.元素具有首尾相接特点。 3.输出结果: (1)求出的最大子数组和 (2)该字数组在原数组中的位置(起始下标和结束下标) 代码如下: package com.company; import java.io.*; impor
2020-04-02T09:13:00Z
2020-04-02T09:13:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】题目描述:最大子数组和问题 1.元素个数不超过100个,存储在文本文件中。 2.元素具有首尾相接特点。 3.输出结果: (1)求出的最大子数组和 (2)该字数组在原数组中的位置(起始下标和结束下标) 代码如下: package com.company; import java.io.*; impor <a href="https://www.cnblogs.com/biaobiao88/p/12621053.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12577558.html
struts2简单登陆页面 - 恶魔岛
首先,先看一下该项目的目录结构,主要看左侧的导航栏的各个文件所属的包以及文件名及后缀!! 下面我给出各个项的源码,再对这个登陆页面进行一些我的理解,希望我的讲解可以帮助你去理解这个工作的原理! web.xml文件源码: <?xml version="1.0" encoding="UTF-8"?> <
2020-03-26T13:37:00Z
2020-03-26T13:37:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】首先,先看一下该项目的目录结构,主要看左侧的导航栏的各个文件所属的包以及文件名及后缀!! 下面我给出各个项的源码,再对这个登陆页面进行一些我的理解,希望我的讲解可以帮助你去理解这个工作的原理! web.xml文件源码: <?xml version="1.0" encoding="UTF-8"?> < <a href="https://www.cnblogs.com/biaobiao88/p/12577558.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12565396.html
四则运算随机出题 - 恶魔岛
代码有一个小问题,就是精度可能会丢失。该代码不包含括号等操作符。 c++代码: #include<bits/stdc++.h> using namespace std; float aa[5],bb[4],cc[10],cpaa[5]; void operation_four(int n,int m
2020-03-25T04:44:00Z
2020-03-25T04:44:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】代码有一个小问题,就是精度可能会丢失。该代码不包含括号等操作符。 c++代码: #include<bits/stdc++.h> using namespace std; float aa[5],bb[4],cc[10],cpaa[5]; void operation_four(int n,int m <a href="https://www.cnblogs.com/biaobiao88/p/12565396.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12546793.html
省赛训练赛赛题(简单题) - 恶魔岛
小明的快乐 Description 某天早上,小明突然发现自己家里多了两个售货机A和B,如果向A机器中放入a枚硬币,A机器会吐出来2a+1枚硬币。如果向B机器投入a枚硬币,B机器会吐出来2a+2枚硬币,现在小明想获得n枚硬币,请你输出使用机器的顺序。 注:开始时小明是没有硬币的。 Input 输入一
2020-03-22T08:34:00Z
2020-03-22T08:34:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】小明的快乐 Description 某天早上,小明突然发现自己家里多了两个售货机A和B,如果向A机器中放入a枚硬币,A机器会吐出来2a+1枚硬币。如果向B机器投入a枚硬币,B机器会吐出来2a+2枚硬币,现在小明想获得n枚硬币,请你输出使用机器的顺序。 注:开始时小明是没有硬币的。 Input 输入一 <a href="https://www.cnblogs.com/biaobiao88/p/12546793.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12543917.html
Ubuntu虚拟机安装,vritualbox虚拟机软件的使用 - 恶魔岛
资源打包链接如下: 链接:https://pan.baidu.com/s/12WISDrsjN70xa9DzbkWsxg 提取码:avv8 现在开始一步步安装,请看清楚图片和文字说明,带你直通Ubuntu系统的捷径!!! 首先我们先安装好virtualbox软件,我用的是6.1.4版本的,你可以去官
2020-03-21T20:33:00Z
2020-03-21T20:33:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】资源打包链接如下: 链接:https://pan.baidu.com/s/12WISDrsjN70xa9DzbkWsxg 提取码:avv8 现在开始一步步安装,请看清楚图片和文字说明,带你直通Ubuntu系统的捷径!!! 首先我们先安装好virtualbox软件,我用的是6.1.4版本的,你可以去官 <a href="https://www.cnblogs.com/biaobiao88/p/12543917.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12497411.html
netbeans出现的错误 - 恶魔岛
说说我在调试netbeans的过程中(一个学校老师让我们调的登陆界面),我出现了1062的错误,这个错误是这样子呈现出来的 而这些错误的原因就是我在web.xml文件中的一个属性值漏写了,请看下面一幅图 原先那个红框里面的.filter我是没写的,后面我发现了,填写上去,之后就可以正常运行了,可是又
2020-03-15T06:17:00Z
2020-03-15T06:17:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】说说我在调试netbeans的过程中(一个学校老师让我们调的登陆界面),我出现了1062的错误,这个错误是这样子呈现出来的 而这些错误的原因就是我在web.xml文件中的一个属性值漏写了,请看下面一幅图 原先那个红框里面的.filter我是没写的,后面我发现了,填写上去,之后就可以正常运行了,可是又 <a href="https://www.cnblogs.com/biaobiao88/p/12497411.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12443164.html
快速幂 - 恶魔岛
#include<iostream> typedef long long ll; using namespace std; ll mod = 1000000007; ll qpow(ll a, ll n)//计算a^n % mod { ll re = 1; while(n) { if(n & 1)/
2020-03-08T08:27:00Z
2020-03-08T08:27:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】#include<iostream> typedef long long ll; using namespace std; ll mod = 1000000007; ll qpow(ll a, ll n)//计算a^n % mod { ll re = 1; while(n) { if(n & 1)/ <a href="https://www.cnblogs.com/biaobiao88/p/12443164.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12416442.html
简单编程练习 - 恶魔岛
#include<bits/stdc++.h> using namespace std; int main() { srand((unsigned)time(NULL)); for(int i = 0;i < 10;i++) { int n = 0 + rand() % 101; int m = 0
2020-03-04T13:51:00Z
2020-03-04T13:51:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】#include<bits/stdc++.h> using namespace std; int main() { srand((unsigned)time(NULL)); for(int i = 0;i < 10;i++) { int n = 0 + rand() % 101; int m = 0 <a href="https://www.cnblogs.com/biaobiao88/p/12416442.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12405197.html
蓝桥杯2014C题 - 恶魔岛
#include<iostream> using namespace std; int ans; void f(int dian,int hua,int jiu) { if(dian == 0 && hua == 0 && jiu == 1) ans++; if(dian > 0) f(dian -
2020-03-03T14:29:00Z
2020-03-03T14:29:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】#include<iostream> using namespace std; int ans; void f(int dian,int hua,int jiu) { if(dian == 0 && hua == 0 && jiu == 1) ans++; if(dian > 0) f(dian - <a href="https://www.cnblogs.com/biaobiao88/p/12405197.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12404390.html
蓝桥杯2013年D题错误代码 - 恶魔岛
#include<iostream> #include<bits/stdc++.h> using namespace std; int n = 50; string add(string a,string b) { a = a.substr(a.find_first_not_of('0')); b
2020-03-03T12:30:00Z
2020-03-03T12:30:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】#include<iostream> #include<bits/stdc++.h> using namespace std; int n = 50; string add(string a,string b) { a = a.substr(a.find_first_not_of('0')); b <a href="https://www.cnblogs.com/biaobiao88/p/12404390.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12119975.html
经典问题(c++/python)素数、杨辉三角(金字塔型)、统计单词数、简单计算器、密码安全程度、凯撒密码加密、汉诺塔 (python课设实验实例)-- biaobiao88 - 恶魔岛
【编写程序,输人一个大于2的自然数,然后输出小于该数字的所有素数组成的列表。】所谓素数,是指除了1和自身之外没有其他因数的自然数,最小的素数是2,后面依次是3、5、7、11、13... c++代码: #include<iostream> #include<bits/stdc++.h> #define
2019-12-30T13:26:00Z
2019-12-30T13:26:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】【编写程序,输人一个大于2的自然数,然后输出小于该数字的所有素数组成的列表。】所谓素数,是指除了1和自身之外没有其他因数的自然数,最小的素数是2,后面依次是3、5、7、11、13... c++代码: #include<iostream> #include<bits/stdc++.h> #define <a href="https://www.cnblogs.com/biaobiao88/p/12119975.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12116245.html
Python简单爬虫 - 恶魔岛
简单抓取网页的代码 import requests#导入requests包 from bs4 import BeautifulSoup#从bs4中导入BeauifulSoup包 import re#导入正则表达式的包 r = requests.get("http://baidu.com") r.en
2019-12-29T14:57:00Z
2019-12-29T14:57:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】简单抓取网页的代码 import requests#导入requests包 from bs4 import BeautifulSoup#从bs4中导入BeauifulSoup包 import re#导入正则表达式的包 r = requests.get("http://baidu.com") r.en <a href="https://www.cnblogs.com/biaobiao88/p/12116245.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12105230.html
dp - 恶魔岛
题目描述: AC代码: #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int maxn=10005,maxm=1005; int n,m,p; int clic[maxn],uncl
2019-12-26T16:13:00Z
2019-12-26T16:13:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】题目描述: AC代码: #include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int maxn=10005,maxm=1005; int n,m,p; int clic[maxn],uncl <a href="https://www.cnblogs.com/biaobiao88/p/12105230.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12105217.html
dfs - 恶魔岛
题目描述: AC代码: #include<iostream> #define int long long using namespace std; const int N = 30; int vis[N][30],n,temp[N]; int ans = 0; string s; void dfs(
2019-12-26T16:08:00Z
2019-12-26T16:08:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】题目描述: AC代码: #include<iostream> #define int long long using namespace std; const int N = 30; int vis[N][30],n,temp[N]; int ans = 0; string s; void dfs( <a href="https://www.cnblogs.com/biaobiao88/p/12105217.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12098611.html
二维数组覆盖 - 恶魔岛
题目链接:https://codeforces.com/contest/1280/problem/B #include<iostream> #include<cstring> #define int long long using namespace std; const int N = 65; i
2019-12-25T11:57:00Z
2019-12-25T11:57:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】题目链接:https://codeforces.com/contest/1280/problem/B #include<iostream> #include<cstring> #define int long long using namespace std; const int N = 65; i <a href="https://www.cnblogs.com/biaobiao88/p/12098611.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12045300.html
二叉树(链表形式) - 恶魔岛
直接附上代码 1 #include<iostream> 2 #include<malloc.h> 3 #define int long long 4 #define maxsize 100 5 using namespace std; 6 typedef char DataType; 7 typed
2019-12-15T10:11:00Z
2019-12-15T10:11:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】直接附上代码 1 #include<iostream> 2 #include<malloc.h> 3 #define int long long 4 #define maxsize 100 5 using namespace std; 6 typedef char DataType; 7 typed <a href="https://www.cnblogs.com/biaobiao88/p/12045300.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12042888.html
判断一个非空单链表是否是递增有序的 - 恶魔岛
直接附上代码,不理解请看置逆那篇,链接:https://www.cnblogs.com/biaobiao88/p/12042132.html #include<bits/stdc++.h> #define int long long using namespace std; typedef stru
2019-12-15T03:01:00Z
2019-12-15T03:01:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】直接附上代码,不理解请看置逆那篇,链接:https://www.cnblogs.com/biaobiao88/p/12042132.html #include<bits/stdc++.h> #define int long long using namespace std; typedef stru <a href="https://www.cnblogs.com/biaobiao88/p/12042888.html" target="_blank">阅读全文</a>
https://www.cnblogs.com/biaobiao88/p/12042132.html
指针的异或运算可用于交换两个变量的值 - 恶魔岛
指针是不能直接进行异或运算的,需要将指针转换成整型int或long,在Linux系统下只能是long,因为指针在win系统占4个字节,在Linux系统占6个字节。 以下为两个指针的异或运算实现指针的交换: #include <stdio.h> int main() { int *a,*b; unsi
2019-12-15T02:34:00Z
2019-12-15T02:34:00Z
恶魔岛
https://www.cnblogs.com/biaobiao88/
【摘要】指针是不能直接进行异或运算的,需要将指针转换成整型int或long,在Linux系统下只能是long,因为指针在win系统占4个字节,在Linux系统占6个字节。 以下为两个指针的异或运算实现指针的交换: #include <stdio.h> int main() { int *a,*b; unsi <a href="https://www.cnblogs.com/biaobiao88/p/12042132.html" target="_blank">阅读全文</a>