码迷,mamicode.com
首页 >  
搜索关键字:not find    ( 24186个结果
B - Dungeon Master POJ - 2251
You are trapped in a 3D dungeon and need to find the quickest way out! The dungeon is composed of unit cubes which may or may not be filled with rock. ...
分类:其他好文   时间:2020-03-22 19:57:31    阅读次数:68
#3 Longest Substring Without Repeating Characters
3 Longest Substring Without Repeating Characters 问题描述 Given a string, find the length of the longest substring without repeating characters. Example 1 ...
分类:其他好文   时间:2020-03-22 19:48:22    阅读次数:54
377. Combination Sum IV
Given an integer array with all positive numbers and no duplicates, find the number of possible combinations that add up to a positive integer target. ...
分类:其他好文   时间:2020-03-22 19:30:38    阅读次数:66
自动化3-css选择器(Python)
一、CSS Selector选择元素 1、原理:HTML中为某些元素指定显示效果,会使用CSS来告诉浏览器选择哪些元素。 ——CSS Selector 语法就是用来选择元素的。 * 选择单个元素的方法:find_element_by_css_selector(CSS Selector参数); * 选 ...
分类:编程语言   时间:2020-03-22 17:51:06    阅读次数:88
AtCoder Grand Contest 043--A - Range Flip Find Route
A - Range Flip Find Route 题意:本题就是给你一个矩阵,要你求出从(1,1)到(h,w)数量最少的黑色方块 题解:在作这一题的时候我最初想到的是用DFS求出每一种可能的方式,比较出它们的最小值,结果TLE了,赛后补题,才懂得还可以用DP来做:这里我们定义一个二维数组dp[h] ...
分类:其他好文   时间:2020-03-22 17:48:59    阅读次数:71
selenium的一些方法
driver.maximize_window() 最大化浏览器窗口,防止访问url前后都可以 driver.refresh() 刷新当前页面 driver.title 获得当前页面的标题定位方式 通过id定位元素:find_element_by_id("id_vaule") 通过name定位元素:f ...
分类:其他好文   时间:2020-03-22 17:33:13    阅读次数:82
leetcode1385
1 class Solution: 2 def findTheDistanceValue(self, arr1: List[int], arr2: List[int], d: int) -> int: 3 n1,n2 = len(arr1),len(arr2) 4 result = 0 5 for ...
分类:其他好文   时间:2020-03-22 14:07:44    阅读次数:69
LeetCode | 1385. Find the Distance Value Between Two Arrays两个数组间的距离值【Python】
LeetCode 1385. Find the Distance Value Between Two Arrays两个数组间的距离值【Easy】【Python】【暴力】 Problem "LeetCode" Given two integer arrays and , and the integer ...
分类:编程语言   时间:2020-03-22 10:27:21    阅读次数:80
cf 1257 E. The Contest(好题)(LIS/思维)
题意: 有三个序列,a、b、c,每次操作可以把一个序列中的一个数移动到另一个序列中, 问,最少操作几次后,可以使得 a 序列里的所有数 小于 b 里面的所有数,b 里面的小于 c 里面的。 数字不重复,总共2e5的数据量。 思路: 做法一:(LIS) 这个做法是网上看到的,确实挺巧妙的,用这个方法, ...
分类:其他好文   时间:2020-03-22 01:18:16    阅读次数:103
一些冷门小技巧
1、awk 打印单/双引号 echo "foo bar" | awk '{print "\""$1"\"", "'\''"$2"'\''"}' 2、去除输出的彩色控制字符 echo -e "\033[34m this is a test. \033[0m" | sed "s#\x1B\[[0-9;] ...
分类:其他好文   时间:2020-03-22 00:56:49    阅读次数:71
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!