原题链接在这里:https://leetcode.com/problems/largest-1-bordered-square/ 题目: Given a 2D grid of 0s and 1s, return the number of elements in the largest square ...
分类:
其他好文 时间:
2019-11-03 10:52:24
阅读次数:
99
find index of top 3 largest values of each column: map dataframe column load a dictionay from a save pkl file find the startpoint of each session (aft ...
分类:
其他好文 时间:
2019-11-01 11:20:00
阅读次数:
70
多态性是将接口与实现进行分离;用形象的语言来解释就是实现以共同的方法,但因个体差异,而采用不同的策略。 虚函数和纯虚函数都是实现多态的重要方法。本文就这两种方法进行分析以及比较 1、虚函数 在基类中声明为 virtual 并在一个或者多个派生类被重新定义的成员函数 语法规则:virtual 函数返回 ...
分类:
其他好文 时间:
2019-10-26 14:53:36
阅读次数:
94
博客原文地址:https://www.cnblogs.com/qq260250932/p/5361043.html using System; using System.Collections.Generic; using System.Linq; using System.Text; using ...
模块cv2: https://www.cnblogs.com/shizhengwen/p/8719062.html opencv 的文档: https://docs.opencv.org/master/ 常用方法: 一、读入图像 使用函数cv2.imread(filepath,flags)读入一副图 ...
分类:
其他好文 时间:
2019-10-24 00:39:31
阅读次数:
83
摘自:https://www.cnblogs.com/yuanchenhui/p/screenshot-easy.html 采用WPF开发截图程序,so easy! 前言 QQ、微信截图功能已很强大了,似乎没必要在开发一个截图程序了。但是有时QQ热键就是被占用,不能快速的开启截屏;有时,天天挂着QQ ...
Given a 2D matrix matrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1, col1) and lower right corner (row2 ...
分类:
其他好文 时间:
2019-10-17 13:28:18
阅读次数:
64
//extern_cpp.h //cppfunc.h //cppfunc.cpp //mainc.c //maincpp.cpp ...
分类:
编程语言 时间:
2019-10-16 17:42:59
阅读次数:
74
使用OpenCV-Python 的画图函数画图。 本次的图形函数有: cv2.line(), cv2.circle(), cv2.rectangle(), cv2.ellipse(), cv2.putText(). 以上函数都包含以下参数: img: 你需要画图形的图片 color: 图形的颜色, ...
分类:
编程语言 时间:
2019-10-16 16:19:47
阅读次数:
151
In a 2D grid of s and s, we change at most one to a . After, what is the size of the largest island??(An island is a 4 directionally connected group o ...
分类:
其他好文 时间:
2019-10-14 01:24:21
阅读次数:
105