码迷,mamicode.com
首页 >  
搜索关键字:island    ( 492个结果
[LC] 200. Number of Islands
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen ...
分类:其他好文   时间:2019-12-05 12:59:30    阅读次数:81
LeetCode 934. Shortest Bridge
原题链接在这里:https://leetcode.com/problems/shortest-bridge/ 题目: In a given 2D binary array A, there are two islands. (An island is a 4-directionally connec ...
分类:其他好文   时间:2019-11-26 13:36:09    阅读次数:59
poj2485prim
Highways Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 40303 Accepted: 17615 Description The island nation of Flatopia is perfectly flat. ...
分类:其他好文   时间:2019-11-24 19:35:55    阅读次数:70
poj2485kruskal
Highways Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 40303 Accepted: 17615 Description The island nation of Flatopia is perfectly flat. ...
分类:其他好文   时间:2019-11-24 19:30:40    阅读次数:52
【kuangbin带你飞】 MST专题
唉,被班级合唱和复变考试搞得心力交瘁。新算法学不进去,更新下吧 A - Til the Cows Come Home The Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid mo ...
分类:其他好文   时间:2019-11-16 23:16:49    阅读次数:91
1254. Number of Closed Islands
Given a 2D grid consists of 0s (land) and 1s (water). An island is a maximal 4-directionally connected group of 0s and a closed island is an island to ...
分类:其他好文   时间:2019-11-16 10:24:06    阅读次数:98
LightOJ 1418 Trees on My Island (Pick定理)
题目链接: "LightOJ 1418" Problem Description I have bought an island where I want to plant trees in rows and columns. So, the trees will form a rectangula ...
分类:其他好文   时间:2019-11-13 01:12:27    阅读次数:117
单调队列
前言 ? 单调队列并不是太难的东西,不应其应用到的题目困难而觉得单调队列困难. ? 我第一次遇见单调队列时是在学图论时,遇到了Island这道题(见基环树专题),当时的我对单调队列一无所知,而对其优化更是懵,所以当时就懵着将题解半抄半写地打了出来,但还是不懂.现在来看,单论单调队列,它是不难的,难的 ...
分类:其他好文   时间:2019-11-12 16:11:54    阅读次数:68
CF 301div2 D. Bad Luck Island
D. Bad Luck Island The Bad Luck Island is inhabited by three kinds of species: r rocks, s scissors and p papers. At some moments of time two random in ...
分类:其他好文   时间:2019-11-09 21:59:21    阅读次数:85
K - Atlantis (线段树+扫描线)
There are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include maps of parts of the i ...
分类:其他好文   时间:2019-10-29 00:35:17    阅读次数:75
492条   上一页 1 2 3 4 5 ... 50 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!