由买买提看人间百态

topics

全部话题 - 话题: conquer
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
e********3
发帖数: 18578
1
这个都是传说,当然也不是空穴来风的事情,很奇怪的罗马贵族里面同性恋和双性恋的
很多,按说他们应该不缺美女相伴呀。
Caesar may have conquered the Gauls, but Nicomedes conquered Caesar.
f**********4
发帖数: 2617
2
来自主题: History版 - 谁打过十字军之王?
Yes, you need a claim to DOW other Christian lords. There is an option to
claim it in the menu of your target's county. The problem here is to claim a
title, you need to have enough "prestige", which is on the top of the
screen just beside the number of your gold. The greater or the more
important the title you wanna claim, more prestige points it costs. Your
prestige points slowly grow with time. The growing speed depends on the
titles you have in your hand and the number of your vassals.
If yo... 阅读全帖
f**********4
发帖数: 2617
3
来自主题: History版 - 谁打过十字军之王?
Not sure about the second question, never proposed an Duchess.
As long as you have enough prestige, you can claim any title. I once played as Count of Belgrade within the Byzantine Empire. At the beginning, basically it was hopeless to be independent from the Emperor. So the only thing I can do is to wait and abuse some petty Pecheneg pagan neighbors when possible. But at some point I found that the once powerful Kingdom of Hungary had over-expanded and its King got excommunicated somehow. His v... 阅读全帖
R*I
发帖数: 1840
4
来自主题: History版 - 谁打过十字军之王?
厉害厉害
看来您老是老手了,俺就继续麻烦您了:
一般什么法令比较好?怎么研发科技?

played as Count of Belgrade within the Byzantine Empire. At the beginning,
basically it was hopeless to be independent from the Emperor. So the only
thing I can do is to wait and abuse some petty Pecheneg pagan neighbors when
possible. But at some point I found that the once powerful Kingdom of
Hungary had over-expanded and its King got excommunicated somehow. His
vassals turned against him and drove him to the only remaining : county
which happened to ... 阅读全帖
p********a
发帖数: 6437
5
1. british cannot lit all oil field, even they did, the fire may be put out;
2. jerry doesn't have to get oil. if ONLY british does NOT get oil, that
will be enough for Hitler to conquer the whole west europe. if Hitler
conquer the west europe, he might not attack USSR in 1941 (or he can
withdraw in 1942).
a*****c
发帖数: 3525
6
【 以下文字转载自 Military 讨论区 】
发信人: agostic (π-packing), 信区: Military
标 题: (中英文)原子弹下无冤魂:B29飞行员查尔斯•斯韦尼将军1995国会演讲
发信站: BBS 未名空间站 (Wed Aug 15 20:13:42 2012, 美东)
只有记忆才能带来真正的原谅,而遗忘就可能冒重复历史的危险。
One can only forgive by remembering. And to forget, is to risk repeating
history.
学英文是为了更好地了解历史。文章很长,有兴趣学英语同时了解历史的同学,希望耐
心地看完(也可以拷贝下来仔细研读)。不仅仅是学英语,更重要的是学如何写作,如
何摆事实,讲道理,反驳质疑。可以学的东西(中英文)原子弹下无冤魂:B29飞行员查
尔斯•斯韦尼将军1995国会演讲很多,就看你是否能够用心去领悟。这是一篇难
得的informative/historical/linguastic article. Enjoy and welcome to ... 阅读全帖
g*******y
发帖数: 202
7
http://www.mitbbs.com/news_wenzhang/MiscNews/31239737.html
编者按:中国威风凛凛的崛起经常标上回归历史正常水平。普遍的说法认为在过去5000
年的大部分时间,中国是世界财富、文化、科技和权力的中心。Mitbbs.com
China’s awe-inspiring rise is often framed as the return to a historical
norm. A common belief is that for most of the last 5,000 years, China was
the world’s center of wealth, culture, technology, and power. The 19th and
20th centuries, we are told, were a brief aberration, and China is now
simply retaking its rightful place as the world’s preeminent nation.... 阅读全帖
t***u
发帖数: 807
8
Russian tanker conquers Arctic passage
Rowena Mason, London
September 4, 2010
Ads by Google
Intl. Shipping Rateswww.AllisonShipping.com
No Limits On Type Or Size. 30+ Yrs. Low Cost & Free Quotes Online!
FOR 500 years, commodity traders have been trying to conquer the
treacherous waters of the Russian Arctic passage - aware of its
potential as a lucrative short-cut shipping route.
The path is blocked all winter and only smaller cargo vessels manage to
navigate through the icebergs for two to thre
g*****1
发帖数: 666
9
来自主题: Military版 - 章家敦再賭中共2012垮
常家蹲还是重复他的念咒一般的老生常谈,根本不值一提。
可读是读者的评论。
http://www.foreignpolicy.com/articles/2011/12/29/the_coming_col
MESS_MEDIA
9:18 PM ET
December 29, 2011
Yeah, I was wrong when I
Yeah, I was wrong when I predicted that the world would end on May 21, 2011.
It should end on October 21.
-Harold Camping
REPLY
JOESMITHII
2:44 AM ET
December 30, 2011
I guess, sooner or later,
I guess, sooner or later, Gordon will get used to admitting wrong
predictions. Fortunately, 2012 is around the corner, we don't need to wa... 阅读全帖
a*****c
发帖数: 3525
10
只有记忆才能带来真正的原谅,而遗忘就可能冒重复历史的危险。
One can only forgive by remembering. And to forget, is to risk repeating
history.
学英文是为了更好地了解历史。文章很长,有兴趣学英语同时了解历史的同学,希望耐
心地看完(也可以拷贝下来仔细研读)。不仅仅是学英语,更重要的是学如何写作,如
何摆事实,讲道理,反驳质疑。可以学的东西(中英文)原子弹下无冤魂:B29飞行员查
尔斯•斯韦尼将军1995国会演讲很多,就看你是否能够用心去领悟。这是一篇难
得的informative/historical/linguastic article. Enjoy and welcome to comment.
(中英文)原子弹下无冤魂:B29飞行员查尔斯•斯韦尼将军1995国会演讲
英文版来源:
http://www.archive.org/stream/smithsonianinsti00unit/smithsonia
Fulltext of Charles W. Sweeney's Hea... 阅读全帖
s********n
发帖数: 26222
11
来自主题: Military版 - 中国的战略家缺乏外向的野心
the spirit to conquer but not to be conquered should be picked up once again
.

capital
around
k********k
发帖数: 5617
12
来自主题: Military版 - 英语是否将征服法国?
http://www.bbc.co.uk/news/magazine-22607506
22 May 2013 Last updated at 05:30 ET
Franglais row:
Is the English language conquering France?
By Agnes Poirier French journalist
The French parliament is debating a new road map for French universities,
which includes the proposal of allowing courses to be taught in English. For
some, this amounts to a betrayal of the national language and, more
specifically, of a particular way at looking at the world - for others it's
just accepting the inevitable.
... 阅读全帖
c*****g
发帖数: 21627
13
来自主题: Military版 - 目前国内教育的问题 (原创)
目前,外F党的教育非常成问题。
在一个封闭的体系下,当前的教育还是可取的,甚至是最优的
但是在全球化+原始丛林法则下,当前教育出来的价值观非常有问题:
1.过分追求完美,研究回字的4种写法,大量时间精力耗费在不需要的细节上
一个直接后果就是:过于好高骛远。比如现在刚建国60年,改开才30年,国内不少人就
要求收入与霉国看齐,税收与东南亚看齐,福利与欧洲看齐,环境资源与澳洲看齐……
……这显然是外F党在backfire
2.过分强调唯一主义标准答案,与实际的原始丛林法则南辕北辙。过分相信外人是理性
而不是主观感性
3.Meritocracy,强调内部竞争而非合作,导致被异族不费吹灰之力divide and
conquer。
什么是Meritocracy?就是年级第一带一朵小红花。
怎么样被异族不费吹灰之力divide and conquer? 你这个县倒贴1亿吸引外商,旁边的
县倒贴5亿吸引外商,外商最后去旁边的县,吃完补助再拍屁股走人。或者,你这个外F
倒贴嫁妆给白男,另一个外F倒贴上海市中心的房产给白男,白男依次和两个外F上床,
有一点良心的结婚,大多数情况下提裤子走人。
4.历史教... 阅读全帖
o**********e
发帖数: 18403
14
来自主题: Military版 - Game theory III
Divide and Conquer. Divided and be Conquered.
求同存异, 怀柔保护出头鸟。
请继续为周五的游行造势:
http://www.mitbbs.com/article_t/Military/40497105.html
另外2 game theory posts here:
http://www.mitbbs.com/article_t/SanFrancisco/34052541.html
http://www.mitbbs.com/article_t/Military/40483439.html
b********n
发帖数: 38600
15
Top 10 reasons why Hitler lost WWII
10 The policy to Never Retreat
Hitler as we all know lived in his fantasy world more than he did in reality
, and this was the reason why he believed that determination of his soldiers
would be honored in the battlefield, without giving much heed to the
reality. His soldiers were only commanded to move forward, but never retreat
. When he denied Frederich Paulus the permission to retreat, it resulted in
the total loss of the of 6th Panzer Army.
9 Hitler dismis... 阅读全帖
f********4
发帖数: 2883
16
这次梁警官被起诉,网上的白人约80%都认为他被起诉是因为他是亚裔。说明很多美国
白人还是有正直心敢于说出来的。可是加拿大白人漠不关心,评论很少,1%都不到为梁
说话。然后美国黑人,最开始只有1%认为梁被起诉是因为他的亚裔身份。到今天大约增
加至30%。
不管怎么样吧,这个事件从网上那些黑人的表现看来,他们其实很不够聪明,因为他们
远远低估了华人这个群体可能带给他们的威胁。他们认为,华人是个绝对无抵抗,任人
宰割的群体。所以,尽管他们对主流斗争经验丰富,对什么“divide and conquer”等
等主流社会对少数民族的杀手锏手段都悉数能详,可是他们认为,跟华人就是divided
也没有什么恶果,华人根本不会那他们怎么样。
可是他们没有算计到的是,如果白人主流想要华人怎么样呢?华人未必见得就不会没有
胆量干。证据就是上次刘警官葬礼本来华人完全可以把事情搞成种族对抗的。
这次我一看他们最终还是起诉了梁,看样子他们是没有什么道德,没有什么聪明的了,
只好把刘警官葬礼他们本来可能遭遇的一幕给他们讲述了一番。我的意思是,本来我们
华人要你们好看也不是没有机会,结果你们不知好歹,还倒反来找我们... 阅读全帖
u*****a
发帖数: 9489
17
看到好多人分享了这篇东西,阴谋论的味道很浓,但貌似还是有不少民众买账。将军们
来鉴定下?
Hillary, Wal-Mart And The Red Chinese Secret Police - How The Clinton's
Helped China Conquer America
http://allnewspipeline.com/Hillary_Wal_Mart_Red_Chinese_Secret_
"To understand Wal-Mart, you have to have a handle on Arkansas. And to
figure out Arkansas, you have to be knowledgeable about the Rockefellers.
And to fathom the Red Chinese Secret Police, you have to know a lot about
the richest family in the world." Sherman Skolnick
By Stefan Stanford -... 阅读全帖
l****p
发帖数: 27354
18
http://foreignpolicy.com/2013/05/30/the-bomb-didnt-beat-japan-s
The Bomb Didn’t Beat Japan… Stalin Did
BY WARD WILSON MAY 30, 2013
U.S. use of nuclear weapons against Japan during World War II has long been
a subject of emotional debate. Initially, few questioned President Truman’
s decision to drop two atomic bombs, on Hiroshima and Nagasaki. But, in 1965
, historian Gar Alperovitz argued that, although the bombs did force an
immediate end to the war, Japan’s leaders had wanted to sur... 阅读全帖
G****e
发帖数: 11198
19
“Islam's 20-point plan for conquering the United States by 2020”
By Anis Shorrosh, author of ''Islam Revealed'' and ''The True Furqan,'' is a
Christian Arab-American who emigrated from Arab-controlled Jerusalem in
January 1967.
1. Terminate America’s freedom of speech by replacing it with hate crime
bills state-wide and nation-wide.
2. Wage a war of words using black leaders like Louis Farrakhan, Rev. Jesse
Jackson and other visible religious personalities to promote Islam as the
original Africa... 阅读全帖
f********4
发帖数: 2883
20
来自主题: Military版 - 实际上黑人在美国的势力并不大
今天倍可亲网上一篇博文介绍了一个西人律师说抗议没有用的说法,比如黑人抗议了,
可是白人警察还不是照样无罪。
这个我不同意。黑人斗争了,白人至少还得宰两个亚裔警察来安慰,华人如果不斗争,
人家不仅不需要安慰你了,还干脆把你们宰了卖给黑人。
现在的问题是,华人单方面怕跟黑人对立,怕被divide and conquer,没有用。黑人意
识不到跟华人对立的危害性,觉得被分而克之,divide and conquer, 那又怎么样?你
华人根本不敢不可能对我形成威胁。所以就肆无忌惮地欺负华人。
实际上别看黑人咋呼得厉害,一旦别人跟他们动真格的打疼他们了一次,他们就乖乖的
了。看看洛杉矶大暴动韩国人把他们打死这么多,他们敢怎么样?从此后再恨韩国人也
只好发泄在“亚裔”头上。看他们被老莫收拾过几次后现在还敢不敢对老莫造次?当然
不敢。
华人不是说要跟他们拿刀枪打,只是必要的反击政治手段是一定需要的,一旦他们认定
华人可欺,今后还不知道要发生什么。
b********n
发帖数: 38600
21
Americans: A Conquered People: The New Serfs
http://www.paulcraigroberts.org/2016/05/23/americans-a-conquere
The Russian government and the Russian people are so unaware of the danger
that they face from Washington that they let foreigners control 20 percent
of their media! Is Russia unaware that Washington has Russia slated for
vassalage or destruction?
China is even more absurd. According to the Chinese government itself, China
has 7,000 foreign-financed NGOs operating in China! Foreign financ... 阅读全帖
W*******n
发帖数: 4140
22
来自主题: Military版 - 第三次世界大战开始
选择在跟戏金瓶一起玩的时候开战,就是想政治上玩离间,军事上搞攻击,心理上给压
力。
Divide and conquer, that's what the American settlers always do. Don't want
to be conquered one by one, including the European continental nations? Then
standing and actions are required now.
b********n
发帖数: 38600
23
How The Ashkenazi Jews Conquered The West
https://biblicisminstitute.wordpress.com/2015/07/28/how-the-ashkenazi-jews-
conquered-the-west/
c****x
发帖数: 6601
24
Trafford Devil
Mongolian here, hopefully I can give you an unbiased opinion.
Short answer: Mongolians hate China and as for Inner Mongolians, Mongolians
pity and scorn them because they think they've been assimilated and
mixed with the Chinese and are no longer really Mongolian.
Long answer: It's a complicated mix of history, racism and an
inferiority complex that forms the Mongolian opinion on China.
First the racism: Since the times of Chingis Khaan Mongolians have claimed
racial superiority ... 阅读全帖
l****z
发帖数: 29846
25
By Andrew G. Bostom
Once again a mere flicker -- in this case burning a copy of the Koran in
Florida -- has ignited the inferno of deeply seated infidel-hatred that
pervades the contemporary Muslim world, precipitating violence, death, and
general mayhem amongst our Afghan " allies."
This eruption was hardly pastor Terry Jones' fault. The insane orgy of
murderous Muslim violence in Afghanistan was a direct result of Islamic
doctrine. Jones' simple non-violent act effectively administered a
diag... 阅读全帖
l****z
发帖数: 29846
26
来自主题: USANews版 - The Conquest of the West
by Patrick J. Buchanan 10/28/2011
On Oct. 31, the U.N. Population Fund marks the arrival of the 7 billionth
person on Earth and raises the population estimate for the planet at mid-
century to 9.3 billion people.

There is a possibility, says the United Nations, that, by century's end,
world population may reach 15 billion. What does this mean for Western
civilization?

It may not matter, except to identify who inherits the estate. For while
world population is exploding, Wester... 阅读全帖
l****z
发帖数: 29846
27
VIDEO: German WWII Survivor Says Obama is Hitler’s Political Son
A survivor of Hitler’s murderous WWII era German empire says that Barack
Obama is essentially the notorious German madman’s political son, the heir
of his political style, if you will.
Austrian Kitty Werthmann (some sites misspell her name as Katie Worthman,
for some reason) was a child just before WWII broke out and lived in the
failing Austrian empire when her countrymen decided to elect Adolph Hitler
as their leader in the 1930s... 阅读全帖
g********2
发帖数: 6571
28
YouTube has used its “hate speech” policy to remove a video posted by
CounterJihad that exposed how the Muslim Brotherhood wages what it calls “
Civilization Jihad” in America.
CounterJihad posted the three-minute video, entitled “Killing for a Cause:
Sharia Law & Civilization Jihad,” to Youtube on June 30. The film
meticulously explains how the Muslim Brotherhood’s “Civilization Jihad”
is a crusade to eliminate and destroy Western civilization from within.
Last Thursday, the video was posted to... 阅读全帖
g********2
发帖数: 6571
29
October 11, 2016
When Muslims complain about ‘Islamophobia’
By Jay Michaels
She pops up like clockwork whenever there’s a townhall. Wearing a hijab
and a doleful expression, the Muslim woman asks plaintively what the
candidate intends to do about “Islamophobia.” She will mention that she’
s one of over 3 million Muslims in the U.S., and may claim that she’s
frightened to go out in public.
When the question came to Donald Trump during the debate, he conceded, “You
’re right about Islamophobia,... 阅读全帖
j*********r
发帖数: 24733
30
来自主题: USANews版 - 主流媒体的俄罗斯证据来了
Russia ‘conquers the world’
After Rostatom finally secured 100 percent of Uranium One in 2013, the
Russian-government news website Pravda declared: “Russian Nuclear Energy
Conquers the World.”
The acquisition of uranium-mining stakes stretching from Central Asia to the
American West made Rosatom one of the world’s largest uranium producers
and brought Putin closer to his goal of controlling much of the global
uranium supply chain, the New York Times said.
In an interview after the U.S. governmen... 阅读全帖
b********n
发帖数: 38600
31
来自主题: USANews版 - Are You Ready to Die? (转载)
How The Ashkenazi Jews Conquered The West
https://biblicisminstitute.wordpress.com/2015/07/28/how-the-ashkenazi-jews-
conquered-the-west/DC.
b********n
发帖数: 38600
32
【 以下文字转载自 Military 讨论区 】
发信人: beijingren (to thine own self be true), 信区: Military
标 题: 德系犹太人是如何征服西方世界的
发信站: BBS 未名空间站 (Fri Oct 27 23:58:29 2017, 美东)
How The Ashkenazi Jews Conquered The West
https://biblicisminstitute.wordpress.com/2015/07/28/how-the-ashkenazi-jews-
conquered-the-west/
a*****y
发帖数: 33185
33
来自主题: Faculty版 - Reform the PhD system or close it down
If you find something abusive or inappropriate or which does not otherwise
comply with our Terms or Community Guidelines, please select the relevant '
Report this comment' link.
Comments on this thread are vetted after posting.
#20273
Indeed, there are many Ph.D. programs that can be closed. The first one on
my list to close would be the Religion program in Columbia university. Why
do we need Ph.D.'s specializing in religion? Leave that area to the rabis
and ministers!
Report this comment2011-04... 阅读全帖
h*******1
发帖数: 4830
34
来自主题: Family版 - Facing the Enemies Within ZT
Facing the Enemies Within
We are not born with courage, but neither are we born with fear. Maybe some
of our fears are brought on by your own experiences, by what someone has
told you, by what you’ve read in the papers. Some fears are valid, like
walking alone in a bad part of town at two o’clock in the morning. But once
you learn to avoid that situation, you won’t need to live in fear of it.
Fears, even the most basic ones, can totally destroy our ambitions. Fear can
destroy fortunes. Fear can ... 阅读全帖
i**********e
发帖数: 1145
35
你说得对,我这方法不能保存原来的数组元素.
我想了一会儿你说的 partition,这个 divide and conquer 的方向我完全没有思路.
divide and conquer 需要有很强的联合性,
例如你有两个数组A和数组B,怎么把这两个数组的答案联合到最终答案?
似乎没什么关系啊?
一些常见面试题的答案与总结 -
http://www.ihas1337code.com

partition
m****e
发帖数: 1197
36
来自主题: JobHunting版 - 大家看看这道逻辑题怎么做?
The Earth has been conquered by aliens. While their first preference is to
kill you, their Supreme Law states that all conquered people must be given a
chance to prove themselves and live. They have selected 12 of you to
participate in a special contest.. Each of you represent a portion of the
Earth’s population, and if you win you will save yourself and all the
people you represent and be allowed to continue living on the Earth. If you
don’t, you and all the people you represent will be vaporiz... 阅读全帖
S**I
发帖数: 15689
37
☆─────────────────────────────────────☆
gzou (gzou) 于 (Thu May 12 02:26:35 2011, 美东) 提到:
马上就要G on site了,
求祝福。
下面是从本版收集到的Google的试题,便于大家查询。
申明:有的附带有解释说明的,也来自于本版或者网络,大家自己看, 不保证真确
http://www.mitbbs.com/article_t1/JobHunting/31847453_0_1.html
本人ECE fresh PhD,背景是电路/EDA,跟G业务基本没什么关系
同学内部推荐的,很简单的一次电面就给了onsite
题都不难,但是自己没把握好机会,出了一些小bug。
总的感觉,出错就是硬伤,宁可从最简单的算法写起,也不能出错。
电面:
1,Skip list, http://en.wikipedia.org/wiki/Skip_list
写code实现struct skip_list * find(struct skip_list *head, int value)
2,sorted array... 阅读全帖
S**I
发帖数: 15689
38
☆─────────────────────────────────────☆
gzou (gzou) 于 (Thu May 12 02:26:35 2011, 美东) 提到:
马上就要G on site了,
求祝福。
下面是从本版收集到的Google的试题,便于大家查询。
申明:有的附带有解释说明的,也来自于本版或者网络,大家自己看, 不保证真确
http://www.mitbbs.com/article_t1/JobHunting/31847453_0_1.html
本人ECE fresh PhD,背景是电路/EDA,跟G业务基本没什么关系
同学内部推荐的,很简单的一次电面就给了onsite
题都不难,但是自己没把握好机会,出了一些小bug。
总的感觉,出错就是硬伤,宁可从最简单的算法写起,也不能出错。
电面:
1,Skip list, http://en.wikipedia.org/wiki/Skip_list
写code实现struct skip_list * find(struct skip_list *head, int value)
2,sorted array... 阅读全帖
w****x
发帖数: 2483
39
来自主题: JobHunting版 - 一道面试题:数组 in-place shuffle
严格来说这样的不算divided & conquer吧, 算conquer then divide
c********t
发帖数: 5706
40
来自主题: JobHunting版 - 请教一个查找算法问题
明白了,多谢!
把你说的扩展为n,要开至少n空间,存所有path,(用map好些)divide and conquer,
(如果每次不释放被conquer的数的path的话,还需要更多空间)最后留下最大数,和
它的path,这时候的path应该是lgn的。理论上比较次数为 n+lgn-1,但是存储读写次
数增加很多,时间优化了吗?
M********5
发帖数: 715
41
来自主题: JobHunting版 - 发个google的面试题
刚收到消息,悲剧了,意料之中,不过我也还ok,还有其他公司move on吧,可能今年
准备的还是不够,希望能对其他找工作的人有帮助。
一共三题,有一道是c++的基础题,那个很简单,基本你要是会c++应该就会写。
另外两道题
1 第一道题,是说你知道(n&(n-1))得出什么结果吗?
这个好答,我当时说这个我见到过,是看一个数是不是2^n,然后他问,除了这个之
外,还可以用在别的地方吗?然后他问了这个之后,我主要是不知道他要问的point在
哪。。。最后兜兜转转地跟他聊了很多,结果最后终于知道,他要的答案是,“n&(n-1
)”改变最后一位不是0的数字。I mean,这个我未必不知道,但是他问我还可以用来做
什么的时候,我确实不知道他想要什么答案,因为这个可能可以用在很多情况下
2 第二道题,以1/(2^n)的概率返回1,其它的时候返回0,题目应该假设有个函数可以
生成1或者0,以1/2的概率
我当时想了一下,最intuitive的想法是先产生一个数,num = 1< (double)num * rand();
当时写的时候没有把num转化成dou... 阅读全帖
M********5
发帖数: 715
42
来自主题: JobHunting版 - 发个google的面试题
刚收到消息,悲剧了,意料之中,不过我也还ok,还有其他公司move on吧,可能今年
准备的还是不够,希望能对其他找工作的人有帮助。
一共三题,有一道是c++的基础题,那个很简单,基本你要是会c++应该就会写。
另外两道题
1 第一道题,是说你知道(n&(n-1))得出什么结果吗?
这个好答,我当时说这个我见到过,是看一个数是不是2^n,然后他问,除了这个之
外,还可以用在别的地方吗?然后他问了这个之后,我主要是不知道他要问的point在
哪。。。最后兜兜转转地跟他聊了很多,结果最后终于知道,他要的答案是,“n&(n-1
)”改变最后一位不是0的数字。I mean,这个我未必不知道,但是他问我还可以用来做
什么的时候,我确实不知道他想要什么答案,因为这个可能可以用在很多情况下
2 第二道题,以1/(2^n)的概率返回1,其它的时候返回0,题目应该假设有个函数可以
生成1或者0,以1/2的概率
我当时想了一下,最intuitive的想法是先产生一个数,num = 1< (double)num * rand();
当时写的时候没有把num转化成dou... 阅读全帖
n*******e
发帖数: 37
43
来自主题: JobHunting版 - 请教一个切割木材的问题
好像看过类似的题目, 但不是很确定了, 说说我的想法, 大家一起讨论吧.
观察这个简单例子, L = 8, A[] = {1,2,3,4,5,6,7}, 也就是要把木板切成8等份
尝试使用以下两种不同切法:
1. 天真的切法, 按照A[]的顺序: 1,2,3,4,5,6,7来切, cost会是8+7+6+5+4+3+2=35
2. 聪明的切法, 把木板尽量切成1/2长度, 剩下的两半再各切成1/4长度, 剩下的4个1/
4木板再各切成1/8长度, 也就是照此顺序: 4,2,1,3,6,5,7 (或是4,2,6,1,3,5,7也对),
cost会是8+4+2+2+4 +2+2=24
我想第二种切法是最佳解了(忘了如何做严谨的证明), 这个解法应该可以算是greedy +
divide & conquer, 每次尽量把当前处理的那块木板砍成其长度的一半,并按照此规则
继续处理砍出来的小块木板, 直到处理完所有切割位置.
实现时, 用dfs实现divide & conquer, 类似merge sort的做法. 每个function call用
O(n)找出能把当前木板砍成最接近一半的切割点... 阅读全帖
c****8
发帖数: 76
44
来自主题: JobHunting版 - Reverse String 有 O(logn)的方法么?
我是觉得没有,我跟他说没有。他说再想想。最后我其实答了divide and conquer,因
为我实在想不到O(logn)的方法,最后他居然满意了。但是divide and conquer是O(n)
啊。
j****i
发帖数: 4
45
来自主题: JobHunting版 - 面试复习总结
1.算法
linkedlist https://leetcode.com/tag/linked-list/
2 pointer https://leetcode.com/tag/two-pointers/,或是一头一尾,或是分布于
两个数据结构)
divide and conquer https://leetcode.com/tag/divide-and-conquer/,最典型的就
是merge sort)
greedy http://geeksquiz.com/algorithms/greedy-algorithms/,最典型的就是Schedule Activity / Job sequence / Meeting rooms)
recursion and DP https://leetcode.com/tag/dynamic-programming/,最典型的就
是{Longest / Maximum / Target / Largest / Minimum / Most} + {subX /
Matrix / Tree / Path})
back tracking ... 阅读全帖
T****U
发帖数: 3344
46
来自主题: JobHunting版 - 求代码,median of K sorted list
参考这个
https://leetcode.com/discuss/17815/share-one-divide-conquer-log-method-with-
clear-description
divide and conquer
加一个heap, 每次去掉一个list的一半,可以做到nlognlogm, n为list数量,m为最长
list的长度
m********0
发帖数: 2717
47
别的论坛上有一些人用netral network或者support vector machine做,还有一些有意
思的讨论,我都快不记得SVM了,不过一直想试试weighted majority algorithms。关
于WA用在trading strategy上的论文还不少,我看了一些,都蛮有意思的,
Learning to trade with incremental support
vector regression experts
这篇好像用了SVM结合WA,很简短,但是从它的结论看,最后的expert是很轻松地beat
best expert(in components)。这点我不怀疑,本来boost algorithm就是把weak
learner变成strong learner的。除非market是100% efficient,总是存在weak
learner的(better than coin toss)。
Evolutionary Algorithms in Optimization of Technical Rules for
Automated Stock Tr... 阅读全帖
j*****5
发帖数: 5135
48
It's very useful indeed, if you know how to use it, but in order to use it
you have to conquer it, conquer your fear.
G****e
发帖数: 11198
49
【 以下文字转载自 Military 讨论区 】
发信人: GoBlue (Wolverines), 信区: Military
标 题: 琐男看看这些内容,吓死你--伊斯兰20条和圣战三步曲
发信站: BBS 未名空间站 (Wed Nov 18 15:41:12 2015, 美东)
“Islam's 20-point plan for conquering the United States by 2020”
By Anis Shorrosh, author of ''Islam Revealed'' and ''The True Furqan,'' is a
Christian Arab-American who emigrated from Arab-controlled Jerusalem in
January 1967.
1. Terminate America’s freedom of speech by replacing it with hate crime
bills state-wide and nation-wide.
2. Wage a war of words... 阅读全帖
G****e
发帖数: 11198
50
来自主题: Michigan版 - The Michigan legend (转载)
【 以下文字转载自 NCAA 讨论区 】
发信人: GoBlue (Wolverines), 信区: NCAA
标 题: The Michigan legend
发信站: BBS 未名空间站 (Mon Oct 3 21:19:12 2011, 美东)
The Michigan Legend
by GoBlue(初稿)
2011.10.03
In the Big House
Hundred thousand Blue and Maize
Hails and cheers
Hail to the wolverines
Cheer for the conquering heroes
The Michigan legend
Calls for excellence
The leaders and best
First down, first down and first down
Rolling to touchdown
One drive, another drive
Playing until win out
Offense and defense
Team, team and tea... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)