import timefrom selenium import webdriver#等待from time import sleepfrom selenium.webdriver.chrome.webdriver import WebDriverweb:WebDriver= webdriver.Ch ...
分类:
其他好文 时间:
2020-04-13 12:39:42
阅读次数:
180
CH 升级延迟、比特大陆空降算力反超“敌营”、“被攻击”的传言四起、SV 链逐渐失势…… 截图来自hashwars.cash/ 2018 年 16 日这天的头 2 个小时,世界各地的币圈群众一起“观看”了 BCH 硬分叉争夺战。 16 日 01:52,SVPool 矿池挖出最后一个公共区块后,BCH ...
分类:
其他好文 时间:
2020-04-13 12:08:22
阅读次数:
72
```//#include#include#include#include#include#include#include#define int long longusing namespace std;#define rep_1(i,m,n) for(int i=m;i='0'&&ch='0'&&... ...
分类:
其他好文 时间:
2020-04-12 18:37:46
阅读次数:
87
1 //判断字符串是否是回文字符 2 #include<stdio.h> 3 #include<string.h> //字符串的strlen函数 4 int main() 5 { 6 int i, j; 7 char ch[100]; 8 gets(ch); //字符串输入 9 i = 0; 10 ...
分类:
其他好文 时间:
2020-04-12 18:23:00
阅读次数:
64
基于 SEO 和安全性的考量,需要进行 301 跳转,以下使用 Nginx 作通用处理 实现结果 需要将以下地址都统一跳转到 https 的根域名 https://chanvinxiao.com http://chanvinxiao.com (不带 www 的 http) http://www.ch ...
分类:
Web程序 时间:
2020-04-12 14:22:51
阅读次数:
74
经过几天断断续续的思考,KMP总算是差不多搞懂了。 主串s和模式串p进行匹配,p在s中出现的位置。 代码如下: #include <cstdio> #include <iostream> using namespace std; const int N = 10001, M = 100001; ch ...
分类:
其他好文 时间:
2020-04-12 14:09:23
阅读次数:
57
#include <iostream> #include <cstring> #include <cstdio> #include <algorithm> using namespace std; int n,k; char ch[10][10]; long long ans; int vis[10 ...
分类:
其他好文 时间:
2020-04-12 10:23:42
阅读次数:
54
将a_boy 转换为 ABoy public static String firstLetterUpper(String str){ char[] ch = str.toCharArray(); if (ch[0] >= 'a' && ch[0] <= 'z') { ch[0] = (char)(c ...
分类:
其他好文 时间:
2020-04-10 18:24:01
阅读次数:
214
``` #include #include #include #include #include #include using namespace std; #define LL long long const int N=1010; int val[N][N]; int res[N][N]; ch... ...
分类:
其他好文 时间:
2020-04-09 10:34:36
阅读次数:
114
某些场景我们需要获取当前插入数据的id进行操作 在mysql中,可以通过原生语句 SELECT LAST_INSERT_ID() 来获取最新插入那条数据的id,注意如果一次插入的数据是多条(插入操作影响的行数大于1),只返回第一条的id 在tp5.0中的模型方法中,也有封装这个方法,首先我们打开CH ...
分类:
其他好文 时间:
2020-04-08 17:39:49
阅读次数:
544