现在用selenium模仿腾讯邮箱登录 思路:定位页面用户名、密码元素、输入即可,在定位登录按钮,点击即可 注意:直接去定位用户名、密码,找不到,通过检查网页源代码,发现页面存在嵌套现象,必须切换到登录frame中,才能定位到用户名,密码元素 下面请看代码: 最后:当在函数内部实例化浏览器对象,函数 ...
分类:
其他好文 时间:
2019-10-03 12:19:08
阅读次数:
115
[TOC] 摘要 MATLAB datenum时间格式参数众多,本文只简单关注 units 参数,即基准年份和计时度量(天、小时)。 命令行演示在 ipython 和 Octave 中进行。 示例1:小时制,基准年份1800 1 1 示例2:一天制,基准年份1800 1 1 示例3:时间列表转换 截 ...
分类:
编程语言 时间:
2019-10-03 01:03:18
阅读次数:
292
题意: 给出一个方格取数,最多能取k次,问最多能取到多少 思路: 最大费用最大流 cpp include include include include include include include include define ll long long using namespace std; ...
分类:
其他好文 时间:
2019-10-02 19:07:51
阅读次数:
125
题目传送门:https://ac.nowcoder.com/acm/contest/1107/C 题意:给出一个区间,求最大的 h ,使得区间内至少有 h 个数 大于等于 h. 思路:1.需要区间有序,那么就需要使用 主席树。 2.二分答案。 2.1 —— 一开始我的思路是直接对每一个查询二分答案 ...
分类:
其他好文 时间:
2019-10-02 18:53:29
阅读次数:
101
B2. Social Network (hard version) time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output The on ...
分类:
Web程序 时间:
2019-10-02 13:12:40
阅读次数:
120
class Solution { public: int maxProfit(int k, vector<int> &prices){ int n=prices.size(),v=0,p=0,ret=0; vector<int> profits; stack<pair<int,int>> vp; w... ...
分类:
其他好文 时间:
2019-10-02 12:58:58
阅读次数:
62
第一次打开wireshark,找不到网卡,费老大劲了,尝试一下管理员权限,才爬出这个坑。 这里选择我的WLAN无限网卡(上面有信号的),左上角鲨鱼鳍开始抓包 选中其中一个TCP的包 中间有一块区域,分为四个 Frame,Ethernet II,Internet Protocol,Transmissi ...
分类:
其他好文 时间:
2019-10-02 12:51:47
阅读次数:
136
本教程为大家介绍 MySQL UNION 操作符的语法和实例。 描述 MySQL UNION 操作符用于连接两个以上的 SELECT 语句的结果组合到一个结果集合中。多个 SELECT 语句会删除重复的数据。 语法 MySQL UNION 操作符语法格式: 参数 expression1, expre ...
分类:
数据库 时间:
2019-10-01 22:36:06
阅读次数:
131
As an ACM-ICPC newbie, Aishah is learning data structures in computer science. She has already known that a stack, as a data structure, can serve as a ...
分类:
其他好文 时间:
2019-10-01 22:13:28
阅读次数:
129
使用散点图矩阵图,可以两两发现特征之间的联系 1、frame,pandas dataframe对象2、alpha, 图像透明度,一般取(0,1]3、figsize,以英寸为单位的图像大小,一般以元组 (width, height) 形式设置4、ax,可选一般为none5、diagonal,必须且只能 ...
分类:
其他好文 时间:
2019-10-01 20:36:53
阅读次数:
159