Redian新闻
>
请问TP怎么关进程?
avatar
请问TP怎么关进程?# PDA - 掌中宝
i*h
1
Imagine you have a square matrix, where each cell is filled with either
black or
white. Design an algorithm to find the maximum subsquare such that all four
borders are filled with black pixels.
解释是:
This algorithm does the following:
1. Iterate through every (full) column from left to right.
2. At each (full) column, look at the subcolumns (from biggest to smallest).
3. At each subcolumn, see if you can form a square with the subcolumn as the
left
side. If so, update currentMaxSize and go to th
avatar
d*q
2
以为向上拉是关进程,但是skype还是work的。
avatar
x*r
3
同问,,,这题我看他的解也很迷茫,感觉那个电子书里面有的复杂度是乱说的,比如
matrix里面找
max sub-matrix sum那题他的优化只做了一半只能到N^5,还有N^4和N^3的解法都没说

four
smallest).
the

【在 i****h 的大作中提到】
: Imagine you have a square matrix, where each cell is filled with either
: black or
: white. Design an algorithm to find the maximum subsquare such that all four
: borders are filled with black pixels.
: 解释是:
: This algorithm does the following:
: 1. Iterate through every (full) column from left to right.
: 2. At each (full) column, look at the subcolumns (from biggest to smallest).
: 3. At each subcolumn, see if you can form a square with the subcolumn as the
: left

avatar
O*y
4
Skype is not an app. it is part of the system. so unless you remove your
Skype account from synergy, it will always work.

【在 d***q 的大作中提到】
: 以为向上拉是关进程,但是skype还是work的。
avatar
h*6
5
这题应该有N^3的解法,楼主所列的方法,恐怕是N^4的
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。