ICode9

精准搜索请尝试: 精确搜索
  • LeetCode 1905. Count Sub Islands2022-05-16 07:32:04

    原题链接在这里:https://leetcode.com/problems/count-sub-islands/ 题目: You are given two m x n binary matrices grid1 and grid2 containing only 0's (representing water) and 1's (representing land). An island is a group of 1's connected 4-directionally

  • 2022-1-12DFSday52022-01-23 13:03:19

    题1: 695. 岛屿的最大面积 给你一个大小为 m x n 的二进制矩阵 grid 。 岛屿 是由一些相邻的 1 (代表土地) 构成的组合,这里的「相邻」要求两个 1 必须在 水平或者竖直的四个方向上 相邻。你可以假设 grid 的四个边缘都被 0(代表水)包围着。 岛屿的面积是岛上值为

  • wxpython 表格控件2022-01-09 18:35:05

    # -*- coding: utf-8 -*- import wx import wx.xrc import wx.grid import pandas as pd from docx import Document class MyFrame1 ( wx.Frame ): def __init__( self, parent ): wx.Frame.__init__ ( self, parent, id = wx.ID_ANY, title = u"费用系统", pos

  • python+selenium Grid2 分布式自动化测试环境搭建2021-10-15 15:03:11

    一、Selenium Server 环境配置 1、selenium grid的组成与作用:由一个集线器hub和多个客户机node组成,如果你的程序需要在不用的浏览器,不同的操作系统上测试,而且比较多的case需要多线程远程执行,那么一个比较好的测试方案就是使用 selenium grid,hub用来管理各个代理节点的注册和状态信

  • 算法-leetcode-5882. 网格游戏2021-09-26 13:06:49

    dfs+dp import java.util.ArrayList; import java.util.List; class Solution { int m, n, ans = Integer.MAX_VALUE; public long gridGame(int[][] grid) { m = grid.length; n = grid[0].length; dfs(grid, 0, 0, new ArrayList<>

  • 1905. 统计子岛屿2021-08-22 17:04:00

    遍历grid2,如果在遍历一个岛屿的过程中没有超过相应的grid1的1的范围,说明遍历到了一个子岛屿,否则不是子岛屿 int st[510][510]; int dx[] = {0, 1, 0, -1}; int dy[] = {1, 0, -1, 0}; int valid; class Solution { public: void dfs(int x, int y, int row, int col, vector<

  • 1905. Count Sub Islands2021-07-16 08:01:49

    You are given two m x n binary matrices grid1 and grid2 containing only 0's (representing water) and 1's (representing land). An island is a group of 1's connected 4-directionally (horizontal or vertical). Any cells outside of the grid are

  • 六、Selenium Grid22020-05-24 14:03:57

    1、集成到Selenium Server中,需要下载和运行Selenium Server使用Grid2的功能。     访问Grid控制台: http://localhost:4444/grid/console   通过使用RemoteWebDriver类连接到Selenium Standalone Server从而实现在远程机器上执行测试; RemoteWebDriver类通过特定的端口监听

  • (五十九)Selenium Grid2的Remote应用之Remote实例2020-01-08 09:02:14

    随笔记录方便自己和同路人查阅。   #------------------------------------------------我是可耻的分割线------------------------------------------- Remote实例 下面通过Python来运行测试用例。 首先,通过Windows命令提示符(或Linux终端)启动Selenium Server。 java -jar seleni

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有