CF Round 648 (Div.2)/CF1365 这次手慢了一点AC前3题只有+20。或者说一个重要原因是第一题看错了题 WA 了两发。 A. XXXXX 这题我和许多人一样把 Subarray 看成了 Subsequence,于是惨遭两发 WA。它要求求出连续子序列。我们分类讨论。答案是 - ...
分类:
其他好文 时间:
2020-06-15 17:51:54
阅读次数:
55
报错:selenium.common.exceptions.ElementNotInteractableException: Message: element not interactable 表现:无法定位到输入框 状态:已解决 备注:ch5_3.py 163邮箱登录页 参考:https://ww ...
分类:
其他好文 时间:
2020-06-15 15:41:18
阅读次数:
96
连接真机安卓版本10,总是报错:selenium.common.exceptions.SessionNotCreatedException: Message: A new session could not be created. (Original error: Permission to sta ...
分类:
移动开发 时间:
2020-06-15 11:53:40
阅读次数:
83
地址 https://leetcode-cn.com/problems/longest-common-prefix/ 编写一个函数来查找字符串数组中的最长公共前缀。 如果不存在公共前缀,返回空字符串 ""。 示例 1: 输入: ["flower","flow","flight"] 输出: "fl" ...
分类:
其他好文 时间:
2020-06-15 09:38:05
阅读次数:
47
实验要求 结合中断上下文切换和进程上下文切换分析Linux内核一般执行过程 以fork和execve系统调用为例分析中断上下文的切换 分析execve系统调用中断上下文的特殊之处 分析fork子进程启动执行时进程上下文的特殊之处 以系统调用作为特殊的中断,结合中断上下文切换和进程上下文切换分析Lin ...
分类:
系统相关 时间:
2020-06-14 23:37:51
阅读次数:
70
题目链接:https://codeforces.com/contest/1364/problem/B 题意 给出大小为 $n$ 的一个排列 $p$,找出子序列 $s$,使得 $|s_1-s_2|+|s_2-s_3|+\ldots+|s_{k-1}-s_k|$ 最大的同时 $k$ 尽可能地小。 题解 ...
分类:
其他好文 时间:
2020-06-14 18:48:20
阅读次数:
95
问题: selenium.common.exceptions.WebDriverException: Message: A new session could not be created. (Original error: Command failed: C:\Windows\system32\c ...
分类:
移动开发 时间:
2020-06-14 12:29:10
阅读次数:
103
<link rel="stylesheet" type="text/css" href="../css/reset.css"> <link rel="stylesheet" type="text/css" href="../css/common.css"> 带../的相对在safari浏览器不生效 ...
分类:
Web程序 时间:
2020-06-13 17:32:16
阅读次数:
65
Odd Selection Subsequence Hate Game On Leaves Guess The Maximums Tree Shuffling A、Odd Selection 题意: $n$个数选$x$个数能不能使它们的和是奇数。 题解: 按奇偶分一波情况就行。 AC代码: 1 #i ...
分类:
其他好文 时间:
2020-06-13 14:33:52
阅读次数:
74
## 最长公共子序列 Longest common subsquence # s1 = "a b d a c e" # s2 = "b a b c e" # LCS = ["abce", "abce"] # 长度4 ## 1 brute force ## 递归解法 从单个字符解决问题 某位置处若两字 ...
分类:
其他好文 时间:
2020-06-13 13:20:17
阅读次数:
58