n****l 发帖数: 1739 | 1 不知道多少°? binary search呗。 brute force不难吧。 |
|
f**x 发帖数: 4325 | 2 too late.
"民间" should have done that 50+ year ago and set up a permanent residence
site.
It is hard to claim by "民间" the ownership if nobody is living there. Only
brute force can, "民间" can't. |
|
p****s 发帖数: 3184 | 3 傻逼连提供个页面都是404。
以后就管你叫Mig404吧,哈哈哈。
另外,估计蠢东西想亮的是中电科30所的三流货色,快二十年前的产品,估计还在用
DES同类的加密,用brute-force approach一天之内就可破解,去google一下DES
cracker。 |
|
g********d 发帖数: 4174 | 4 On the other hand, even as they acknowledge mounting losses in the public
opinion wars, marriage equality foes project confidence with the brute fact
that, as of now, no majority exists for marriage equality in the state
senate. One such group is the New York State Catholic Conference, which
advocates for the public policy agenda of the state’s bishops, who
represent some 7.3 million Catholics. Even more than the National
Organization for Marriage, which has sought inroads into the state, the
co... 阅读全帖 |
|
q*****g 发帖数: 1568 | 5 【 以下文字转载自 Salon 讨论区 】
【 原文由 ayanami 所发表 】
By ERIK ECKHOLM
QIXIA, China — A confrontation between dozens of elected village leaders
and long-entrenched Communist Party bosses, many of them accused of
brazen corruption and nepotism, has stewed for three years now in the
apple-blossom hills of eastern China.
So far, the party bosses have kept control, sometimes through brute
force, preventing elected leaders from doing their jobs and thwarting
the scrutiny of village accounts.
"We've be |
|
h*h 发帖数: 27852 | 6 【 以下文字转载自 ChinaNews 讨论区 】
发信人: hsh (三胡), 信区: ChinaNews
标 题: 这是利比亚的新的革命?
发信站: BBS 未名空间站 (Mon Feb 21 16:34:32 2011, 美东)
这是利比亚的新的革命?
由Dirk Vandewalle,特向美国有线新闻网
(CNN)的 - 任何持续的反对,在利比亚的开放思想博格尔斯异议,即使是卡扎菲上校
的严密控制的国家最老资格的观察家的想法。
自从他1969年来到了不流血政变,更换了亲西方桑西君主政权,利比亚领导人统治一个
铁腕的手,几乎没有留下任何机会,反对合并。
出乎我们通常所说的,在西方,卡扎菲的方式,能够巩固这一高度集权体制到位不仅依
靠感知纯洁,蛮力 - 虽然这始终是最终决定因素 - 但也另外两个因素。
一个是一个分而治之复杂的系统,平衡的家庭,部落和对对方国家的省份。二是通过伪
装自己在反西方,尤其是反美地幔,至少最初,在灾难性的,其中包括后殖民时期的残
暴和一个完全腐败感知为君主制,在财政和国家遗产思想上他的同胞许多共鸣。
保护卡扎菲的利比亚这样的组合 - 一个国家,在他的理论... 阅读全帖 |
|
p**********d 发帖数: 7918 | 7 【 以下文字转载自 Military 讨论区 】
发信人: powerforward (今天你敏感詞了沒有), 信区: Military
标 题: 紐約時報:GE設計的冷卻系統有缺陷
发信站: BBS 未名空间站 (Tue Mar 15 14:15:39 2011, 美东)
Reactor Design in Japan Has Long Been Questioned
By TOM ZELLER Jr.
Published: March 15, 2011
The warnings were stark and issued repeatedly as far back as 1972: If the
cooling systems ever failed at a Mark 1 nuclear reactor, the primary
containment vessel surrounding the reactor would probably burst as the fuel
rods inside overheated. Dangerous radiation would... 阅读全帖 |
|
l****z 发帖数: 29846 | 8 THE SUN NEVER SETS ON THE BRITISH WELFARE SYSTEM
August 10, 2011
Those of you following the barbaric rioting in Britain will not have failed
to notice that a sizable proportion of the thugs are white, something not
often seen in this country.
Not only that, but in a triumph of feminism, a lot of them are girls. Even
the "disabled" (according to the British benefits system) seem to have
miraculously overcome their infirmities to dash out and steal a few TVs.
Congratulations, Britain! You've barba... 阅读全帖 |
|
l****z 发帖数: 29846 | 9 By Editorial Board, Published: March 2
FOR FIVE YEARS, President Obama has led a foreign policy based more on how
he thinks the world should operate than on reality. It was a world in which
“the tide of war is receding” and the United States could, without much
risk, radically reduce the size of its armed forces. Other leaders, in this
vision, would behave rationally and in the interest of their people and the
world. Invasions, brute force, great-power games and shifting alliances —
these were t... 阅读全帖 |
|
c*****g 发帖数: 21627 | 10 Man, 61, killed after being pushed in front of D train in the Bronx as wife
watched
Wai Kuen Kwok, who was headed to breakfast in Chinatown with his wife, was
pushed as the southbound D train pulled into the station. The subway
operator saw Kwok but couldn't stop the train in time. Cops are looking for
a man wearing a dark-colored bubble jacket suspected in the killing.
BY TANISIA MORRIS , PETE DONOHUE , CAITLIN NOLAN NEW YORK DAILY NEWS
Published: Sunday, November 16, 2014, 11:05 AM Updated: S... 阅读全帖 |
|
S*********g 发帖数: 24893 | 11 “I have great respect for the East Asian races. Even if we were to go
extinct they could carry something on. They are by nature very racist and
could be great allies of the White race. I am not opposed at all to allies
with the Northeast Asian races. ”
白杀手宣言全文:
I was not raised in a racist home or environment. Living in the South,
almost every White person has a small amount of racial awareness, simply
beause of the numbers of negroes in this part of the country. But it is a
superficial awar... 阅读全帖 |
|
A****r 发帖数: 41 | 12 Read this CNN news before commenting.
http://money.cnn.com/2016/02/17/technology/fbi-apple-hack-iphon
Why is Tim Cook so angry at the government?
A federal magistrate-judge ruled Tuesday that Apple must help the FBI break
into the phone of one of the San Bernardino shooters. The FBI was unable to
figure out the shooter's passcode, which is the only way to get inside his
iPhone.
Here's the problem: Apple doesn't hold the keys to the shooter's iPhone. The
only way to break through an iPhone's enc... 阅读全帖 |
|
S**C 发帖数: 2964 | 13 10-fails-then-swipe-clean is an integral part of the security measure to
defeat brute force attack, so does the time delay after 4th failed trials. |
|
T**********e 发帖数: 29576 | 14 The clinton campaign nicknamed them “the Storm Troopers,” on
account of
their slicked-back hair and their resemblance to the elite World War I
German soldiers. Others have referred to them as Uday and Qusay, a nod to
Saddam Hussein’s vicious and extravagant sons, who were killed in
Mosul in
July 2003, after a fierce gunfight with American forces. On the campaign
trail the Trump brothers—Donald Trump Jr., 38, and Eric Trump, 32, the
oldest sons of our 45th president—... 阅读全帖 |
|
d*****g 发帖数: 106 | 15 Lu Xun quoted: ‘The Chinese have either looked down on foreigners as brutes
or up to them as saints, but have never actually been able to call them
friends or speak of them as equals’.
中文是啥 |
|
l***x 发帖数: 1761 | 16 鲁迅也是扯淡,中国历史上跟其他国家友邦来往的多了去了。比如大食,多少年来在广
州泉州做生意,泉州在元朝一个港口占全国总税赋1/3,很多阿拉伯人在这里愉快生活
,做生意,终死于此。所谓equality的概念是从古希腊,到法国启蒙运动一脉相承之类
的,倒是不错,不过是西方文化占据了话语权,把中国文化里面源远流长的这些东西盖
住了而已。西方现在这些东西,或多或少几乎在中国历史中都有。
中国人把大食当圣人还是禽兽了?
brutes |
|
k*********g 发帖数: 791 | 17 藕现在腾不出空来做湍流;
让现在世界上的几千个湍流专家们再折腾几年吧;
让他们frustrated, 继续;
然后明白一个道理:有些期刊论文不光光不help,还添乱;
藕一直在等待一本能把过去100多年的湍流研究好好总结一下的牛书;
然后藕啃完牛书,再努力把湍流摆平;
anyway,关于湍流的brute force computation,藕好像已经找到了一条社会主义康坦
大道;
关于湍流的modeling 或者 theory, 藕只是觉得应该走某一条路;
不过,藕手头很忙,有那么多的novel and useful的牛数值算法等着藕去完成,将来用
到condensed matter、cosmology里面去;目前还要学习topology、manifold、广义相
对论、probability theory,复习green function and spectral theory、real
analysis、functioanl analysis、、、
湍流?再等等吧;
be patient; |
|
r****a 发帖数: 1212 | 18 车流大的路会分出一条道让左转的等待
[在 keystone0504 (金牛) 的大作中提到:]
:就是左转要让直行,经常造成一个方向只有一条lane的路口堵车
:Et tu, Brute? |
|
a*****n 发帖数: 230 | 19 姐 is brutely honest with herself. Not many people can do that. |
|
o**********e 发帖数: 18403 | 20 【 以下文字转载自 ITRelief 俱乐部 】
发信人: onetiemyshoe (onetiemyshoe), 信区: ITRelief
标 题: 斧头帮大牛:谈职场经验123
发信站: BBS 未名空间站 (Thu Apr 10 14:26:18 2014, 美东)
很看好!
【 以下文字转载自 Seattle 讨论区 】
发信人: rayman (rayman), 信区: Seattle
标 题: 敢冒西版版规“大不惟”,就是要讨论阿三 ------职场经验谈123
发信站: BBS 未名空间站 (Thu Apr 10 14:14:30 2014, 美东)
zz
标 题: 职场感想:如何在北美职场下游对抗阿三
发信站: BBS 未名空间站 (Sat Apr 20 10:33:32 2013, 美东)
最近我工作最密切的合作伙伴是三哥, 感觉对他们 了解多了很多。 在北美职场,阿
三毕竟是中国人的 最大竞争对手。 在下跟成功两个字拉不上半点关 系,经验只适合
炮灰和底层管理,这里只是抛砖引 玉,希望能得到更多讨论。
先介绍一下自己的情况, 六年前进入公司, 从社会 底层... 阅读全帖 |
|
e***p 发帖数: 142 | 21 前几天,有人在微信朋友圈贴出一道据说是小学一年级的算术题,还神秘兮兮声称,10
个成年人中,只有一个人能解出。
该题可以用数学语言表达为:8个变量a, b, c, d, e, f, g, h 在1到8范围内取不同值
, 求解下列4个等式中此8个变量的赋值:
1. a+b=9
2. c+d=7
3. e-f=1
4. g-h=2
这是一道特定取值区间异值多变量等式求解题。数学好的人,应该能轻易证明此8个变
量的赋值域。笨人只能用暴力算法(brute force algorithm),得到下面结果:
第4等式的g-h之差,若是双数2, 4或6,此题无解;若是单数1, 3, 5 或7,则此题可解
。估计原题是把第四等式写错了,10个成年人10个都解不出来。
如果把上面第四等式改为g-h=3,则有下列3组且只有3组的解:
第1组:
1+8=9
3+4=7
7-6=1
5-2=3
第2组:
2+7=9
1+6=7
4-3=1
8-5=3
第3组:
3+6=9
2+5=7
8-7=1
4-1=3.
即:
a=1, 2, 3
b=8, 7, 6
c=3, 1, 2
d=4, 6, 5... 阅读全帖 |
|
g*******y 发帖数: 1930 | 22 ha, there you go!
How can an interviewer ask a NP problem! Can I just use brute force?!
with |
|
b******7 发帖数: 79 | 23 Given a set of points (x,y) , find all pairs of points whose distance is
less than a given number, say, K.
这个题brute force: 对每个点,求和其他点距离,O(N^2),不知道哪位大侠有高见啊
?请不吝赐教!万分感激! |
|
k*k 发帖数: 49 | 24 /* a simple brute force sol.
similar to the sol. of another m$ problem:
matching a*?b with adxefb
*/
int isInterleaving(char* a, char* b, char* c,
int ai, int bi, int ci){
printf("entry info: %d, %d, %d,\n", ai, bi, ci);
if (a[0]=='\0' && b[0]=='\0' && c[0]=='\0')
return 1;
if (b[0]=='\0' && a[0]=='\0' && c[0]!='\0')
return 0;
int tmp1=0; int tmp2=0;
if (a[0]!='\0' && a[0]==c[0]){
tmp1 = isInterleaving(a+1, b, c+1,
ai+1, bi, ci+1);
}
if (tmp |
|
m*****f 发帖数: 1243 | 25 O(logn)是肯定的, brute force解法就是O(n)阿 |
|
b***e 发帖数: 1419 | 26 I like your approach. But brute-force.
In fact this one is VERY simple. It's a parity checking problem. If
the burglar is at odd(even) one night, then the next night he's at
even(odd).
So you assume he's at even at the beginning and traverse the street one
pass starting from a even position. If you catch him, then done.
Otherwise, he was at odd in the beginning, and you can traverse the
street once more to catch him. Just like what you show in your diagram.
The invariant is that at each |
|
H*M 发帖数: 1268 | 27 令人发指 这除了brute force还能怎么的
什么公司? |
|
H*M 发帖数: 1268 | 28 感觉能做的就是prune
但是还是brute force吧? |
|
m*****f 发帖数: 1243 | 29 Floyd Warshall算法, brute force解决贝 |
|
a***w 发帖数: 168 | 30 You are given a M x N matrix with 0's and 1's
1. Find the largest square matrix with 1's
2. Find the largest rectangular matrix with 1's
没想出哪种比Brute-force 列举更好的办法,哪位有啥hint? |
|
b***e 发帖数: 1419 | 31 来自主题: JobHunting版 - 问一个题目 Brute-force based on case study directly:
a. the first letter is 'a', then do a recursive call with 1 a less;
b. the first letter is 'b', then do a recursive call with 1 b less;
..., ...
No extra space needed. |
|
r**u 发帖数: 1567 | 32 3. 设计一个算法,判断一个integer n是不是可以表示成k(k>=2)个连续正整数的和
这个你怎么答的?感觉这个问题不简单啊,brute-force要O(n^2),back-tracking好
像可以改进一些。
另外,什么是reverse binary tree? mirror binary tree么?还是给一个ordered BST
,构造一棵BST,是原来那棵树的逆序。
BTW, 祝你尽快拿到offer. |
|
a*u 发帖数: 97 | 33 又查了下,brute force就是n^2lgn, 但是现在有improved O(nlgn)算法,也有exact
bound n的算法了。恩
) |
|
l*********y 发帖数: 142 | 34 given an array of n elements, find if there is a subset of 3 elements sum up
to value T with time complexity O(nlgn).
感觉这道题定义很清晰,但是只能想出O(n^2*lgn) 的brute force解法.
careercup上的讨论不清楚。谢谢。 |
|
x******3 发帖数: 245 | 35 那brute force就是对每一个可能的序列作LIS吗?多谢 |
|
B*****t 发帖数: 335 | 36 恩。 brute force的方法是O(n^2logn)的,显然不是很好。 |
|
B*****t 发帖数: 335 | 37 最长连续增长子序列的长度不一定是n,也许比n小。你这个方法还是brute force的。 |
|
k*n 发帖数: 150 | 38 睡不着,上来做一道题再睡吧。。。
英文很差,硬着头皮练,大家莫笑。。。
firstly, brute force is the last option, which will take C(n,k)*k time
Then let's consider a better solution
apparently, sorting the n numbers will help, this will take n*logn time
now name them x1 to xn
in the ideal case, this max-min diff is (xn-x1)/(k-1)
another thing that is determined is x1 and xn must be selected.
let y1 to yk as the sorted selections. so y1=x1, yk=xn.
now consider greedy like method...
from x1, chose next yi where yi is the most appropr |
|
z**********g 发帖数: 209 | 39 Given a set of points (x,y) on a 2D coord system, identify list of 2D coords
that are of distance less than x units long.
Let x = 1;
Given (0,0), (0,1), (1, 2), (4,6);
Return 1 -> (0,0), (0,1)
brute force就是n^2了,carerrcup上讨论的结果就是这个题和 closest pair 不一样
,但是没什么结果 |
|
K******g 发帖数: 1870 | 40 不明白,brute-force怎么回事N^2呢,我怎么觉得是N^N?
coords |
|
y**i 发帖数: 1112 | 41
whi
are
这个用DP怎么解?
这个用brute force直接做两层循环不也是O(N2)时间么,还不用额外空间 |
|
a***9 发帖数: 364 | 42 这个是NP hard吧,reduce subset sum to this one |
|
|
a***g 发帖数: 234 | 44 brute force所有组合,在检查误差
三层循环就够了
不过这个解法不是最优的
120ml。 |
|
m*****g 发帖数: 226 | 45 此题到底是否有解?
如果误差可以变化,是否brute force也没用了 |
|
l*********y 发帖数: 142 | 46 Given a set of points (x,y) on a 2D coord system, identify list of 2D coords
that are of distance less than x units long.
Eg.
Let x = 1;
Given (0,0), (0,1), (1, 2), (4,6);
Return
1 -> (0,0), (0,1)
brute force n^2.
有人有更好的解法吗?
谢谢! |
|
l******c 发帖数: 2555 | 47 Number is N
brute force method:
2** n <= N
get the n
then
select 2, 2**2, 2**3, 2**4.....2**n,
when 2**k is selected, 2**(k-1) till 2 can be selected also, but 2**(k + 1)
is not allowed
N = 10;
select 2:
1002
select 2**2
122 (2 is also selected)
select 2**3
210, 202, (2 is also selected)
then program.... |
|
w******e 发帖数: 81 | 48 Super zan! Yes, I thought the key point is the '0' in the bin expression,
and this is probably the solution the interviewer was looking for. I only
proposed an idea using the brute force and the interviewer was not satisfied
with it..... |
|
j***n 发帖数: 301 | 49 检查一个string是不是另外一个substring是怎么做的呢?用brute force还是KMP、BM? |
|
Z*****Z 发帖数: 723 | 50 他要找的优化方案很简单,就是选最近的停车位。这样一个valet可以尽快的完成停车任
务,回到入口,服务下一个人。
至于空车位搜寻算法,在这个问题里不是重点。因为停车位是个常数,用brute force算
法也是常数时间。
btw:我遇到的这个parking lot问题看起来很open,说什么都可以。但是他有明确的想
要听的东西。 |
|