问题描述: Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. Example: 解题思路: 这道题可以用动态规划来解,为 ...
分类:
其他好文 时间:
2018-06-03 10:46:00
阅读次数:
130
问题描述: Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: A partially filled sudoku ...
分类:
其他好文 时间:
2018-06-01 13:28:21
阅读次数:
168
开头 这是每周比赛中的第一道题,博主试了好几次坑后才勉强做对了,第二道题写的差不多结果去试时结果比赛已经已经结束了(尴尬),所以今天只记录第一道题吧 题目原文 840. Magic Squares In Grid A 3 x 3 magic square is a 3 x 3 grid filled ...
分类:
其他好文 时间:
2018-05-27 18:37:03
阅读次数:
189
There are 1000 buckets, one and only one of them contains poison, the rest are filled with water. They all look the same. If a pig drinks that poison ...
分类:
其他好文 时间:
2018-05-21 01:05:33
阅读次数:
227
Given a positive integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. Example: Input: 3 Output: [ [ 1, 2, 3 ], [ 8, ...
分类:
其他好文 时间:
2018-05-20 10:49:51
阅读次数:
148
Hexo搭建 <!--[if gte vml 1]><v:shapetype id="_x0000_t75" coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f ...
分类:
其他好文 时间:
2018-05-14 19:53:51
阅读次数:
222
Mad scientist Mike has constructed a rooted tree, which consists of n vertices. Each vertex is a reservoir which can be either empty or filled with wa ...
分类:
其他好文 时间:
2018-05-07 14:46:05
阅读次数:
155
描述 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 ro ...
分类:
其他好文 时间:
2018-05-06 16:17:18
阅读次数:
118
一、题目 Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following rules: Each row must contain the ...
分类:
其他好文 时间:
2018-05-02 22:21:12
阅读次数:
218
1.在某一张image图上添加Button组件,使其具有点击触发事件的功能; 2.outline组件 3.SkillItem脚本 Image类型为Filled;控制的参数为冻结图片中的组建Image中的fillAmount属性。 ...
分类:
其他好文 时间:
2018-04-28 16:54:29
阅读次数:
172