l*****g 发帖数: 49 | 1
yes, the farthest-point voronoi diagram can be computed in time
O(n log n), by any optimal algorithm for 3D convex hull (not
a plane-sweep algorithm similar to fortune's)
take any classical textbook in computational geometry and you will
find the following information (for example, Shamos and Preparata's):
the farthest-point voronoi diagram (in the plane) is the projection
of the lower envelop of n (special) planes in 3D. The lower envelop is in fact
the dual of a convex hull, so any optimal co |
|
D*******r 发帖数: 37 | 2 how to compute the farthest-point voronoi diagram in O(nlogn)?
Is there any way similar to the forturne algorithm for the nearst-point
voronoi diagram?
Thanks! |
|
c*****e 发帖数: 2073 | 3 The farthest distance way in the world
is not the way from birth to the end
It is when I stand in front of you
but you don't understand I love you
The farthest distance way in the world
is not when I stand in front of you
you don't know I love you
It is when my love is bewildering the soul
but I can't speak it out
The farthest distance way in the world
is not that I can't say I love you
It is after missing you deeply into my heart
I only can bury it in my heart
The farthest distance way in the w... 阅读全帖 |
|
D**********R 发帖数: 25234 | 4 今天带娃参加学区的language group,是给语言表达上有欠缺的孩子提供的服务,不过
很多指导对普通孩子也可能有帮助,训练师给了一张单子,是
concepts in order of difficulty by age band
按半年的时段,给3-6岁的孩子提出了一些需要掌握的概念,让我贴在家里冰箱上,对
照娃的年龄那一条,经常在对话中用到这些概念,让娃也会掌握和使用这些概念。
敲完发现有许多词是重复的,顺序也不一样,不知道怎么回事,不过既然总体就这些概念,照着练练总没错的,大家做
参考吧
3-0 to 3-5 (三岁0个月到三岁5个月,以下类推)
least difficult to most difficult
top
another
under
missing
highest
finished
nearest
all
up
empty
tallest
both
outside
down
largest
different
full
same
longest
in front
many
across
most
smallest
around
next
===========... 阅读全帖 |
|
s*****r 发帖数: 11545 | 5 虽然现在看见了,其实有可能在60亿年前就不存在了,这不是很可悲么?
http://news.yahoo.com/farthest-known-galaxy-universe-discovered
Farthest Known Galaxy in the Universe Discovered
A new celestial wonder has stolen the title of most distant object ever seen
in the universe, astronomers report.
The new record holder is the galaxy MACS0647-JD, which is about 13.3 billion
light-years away. The universe itself is only 13.7 billion years old, so
this galaxy's light has been traveling toward us for almost the whole
history of space an... 阅读全帖 |
|
B****n 发帖数: 11290 | 6 不是很懂
但查了一下
http://www.space.com/17755-farthest-universe-view-hubble-space-
The Hubble Space Telescope has captured the farthest-ever view into the
universe, a photo that reveals thousands of galaxies billions of light-years
away.
The picture, called eXtreme Deep Field, or XDF, combines 10 years of Hubble
telescope views of one patch of sky. Only the accumulated light gathered
over so many observation sessions can reveal such distant objects.
我理解和你說的 "据说光学望远镜在太空中观察星系的极限的视野范
围是20光年,如果能看到1400光年的望远镜... 阅读全帖 |
|
h**u 发帖数: 35 | 7 BFS is OK, but traverse from the farthest kid first when visiting a node
class Solution {
public:
int jump(int A[], int n)
{
if ( !A || n <=1)
return 0;
queue Q;
vector min_jump(n, -1);
Q.push(0);
min_jump[0] = 0;
while (!Q.empty()) {
int cur = Q.front();
Q.pop();
if ( A[cur] + cur >= n - 1)
return min_jump[cur] + 1;
for (int i=A[cur]; i... 阅读全帖 |
|
z**********i 发帖数: 9546 | 8 【联合工地·译】传奇大鸟最赏心悦目的助攻盛宴
由 ygm25713 发表在虎扑篮球·篮球场 http://bbs.hupu.com/nba
【联合工地·译】传奇大鸟最赏心悦目的助攻盛宴
By Professor Parquet on Mar 17, 2015, 6:31a
USA TODAY Sports
为什么拉里-伯德是有史以来最好的组织前锋,并且被认为可能是NBA历史上最好的传球
手,他是一个时代的象征。
或许,拉里-伯德不是烹饪大师。
然而,当持球时用他那冰冷的蓝眼睛观察防守,寻找极小而依然可为他所用的缝隙之际
,他就像场上厨艺最精湛的大厨,庖丁解牛般粉碎对手的防守;他传球精准,直击腹地
,结合了出色的视野,球感,篮球智商,无私,时间把握,以及创造力——无与伦比,
不可超越。
勒布朗-詹姆斯虽然是伟大无私的传球好手,可很轻易判断他跟拉里-伯德作为传球手
还不在同等级别。助攻数会误导人们,且包含部分主观色彩;也同球队风格,比赛节奏
和队友实力挂钩。
传球异常漂亮,可如果接球人丢了球,或错失了投篮,就算不上助攻。而当今,倾向于
对超级明星进行数据排行的做法,以及允许他们例行公事般... 阅读全帖 |
|
d********a 发帖数: 3698 | 9 有一次极严重的核电厂燃料棒融化的污染!据估计其污染程度是三哩岛的457倍! 美国
官方一直到5
星期后才在报纸上悄悄的报道了这个事故.
“50 Years After America’s Worst Nuclear Meltdown
Human error helped worsen a nuclear meltdown just outside Los Angeles,
and now human inertia has stymied the radioactive cleanup for half a
century.
By Joan Trossman Bien and Michael Collins
http://www.miller-mccune.com/science-environment/50-years-after
meltdown-3510/
The Santa Susana Field Laboratory.
For Release Saturday A.M., August 29, 1959
CANOGA PARK, CA
“During an inspecti... 阅读全帖 |
|
w*********g 发帖数: 30882 | 10
Rev. 12:1-5
Now a great sign appeared in heaven: a woman clothed with the sun, with the
moon under her feet, and on her head a garland of twelve stars. Then being
with child, she cried out in labor and in pain to give birth. And another
sign appeared in heaven: behold, a great, fiery red dragon having seven
heads and ten horns, and seven diadems on his heads. His tail drew a third
of the stars of heaven and threw them to the earth. And the dragon stood
before the woman who was ready to give bir... 阅读全帖 |
|
h*****9 发帖数: 6643 | 11 没听说过是你自己无知。这只能说明你是个很容易被骗的无知之徒, 你又要凭你自己的无知骂人,你又无耻了。
揭露 BIG-BANG 是披着科学外衣的宗教,这在10年前就有很多文章了。
THE "BIG BANG" IS JUST RELIGION DISGUISED AS SCIENCE
by Michael Rivero
Once upon a time, a long time ago, there was this guy named Aristotle.
Pretty sharp fellow; he thought up a lot of good things. But, occasionally
he made a mistake.
One mistake he made was to toss an orange up in the air and watch it come
straight back down to his hand. Aristotle reasoned that if he was moving,
the orange would have flown... 阅读全帖 |
|
w***f 发帖数: 20 | 12 Small-Stick Diplomacy in the South China Sea
南中国海的“小棒”外交
James Holmes, Toshi Yoshihara
April 23, 2012
原文链接:http://nationalinterest.org/commentary/small-stick-diplomacy-the-south-china-sea-6831
大概因为家庭背景,我本人相对来说比较关心国外学术界对中国海上力量的分析,
相对于国内一帮到处打打杀杀的喊声,痛斥TG卖国,国外一般分析都是中国这次做的很
聪明,我也想尽我之力,多翻译一些这类的文章,让大家多看看一些比较深度的事件分
析,不过因为这类文章都比较长,我的英语只能说是一般,时间也没有那么多,只能是
尽力而为了。
关于作者
James Holms是美国海军战争学院(U.S. Naval War College)战略学副教授,
Toshi Yoshihara(看名字是个日本佬)为亚太问题the John A. van Beuren研究员,
他们是大西洋月刊2010年度最佳图书Red Star over... 阅读全帖 |
|
U***5 发帖数: 2796 | 13 Daily Kos 上面这位老兄有新分析,很专业。
http://www.dailykos.com/story/2013/02/04/1184660/-Ping-Fu-s-tim
Ping Fu's time travel machine
Ping Fu's new book, Bend, not Break: A Life in Two Worlds, stirred a huge
controversy because of its conflicting and sometimes nonsensical description
of her life in China. In the face of mounting criticism, she has insisted
that all of the inconsistencies were the faults of the reporters and news
media who used the words such as "labor camp" and "child soldier" which
distorted... 阅读全帖 |
|
N*******g 发帖数: 370 | 14 作者:隋元
花了点时间把亚马逊提供的《弯而不折》的试读片段浏览了一下,发现了一
些新的问题。傅苹阵营对大量的质疑要么是置之不理,要么就说回忆录讲的是个
人的经历,别人没有资格多嘴。但是他们忘了,社会的大历史与个人的经历息息
相关,如果一家有影响的出版社出版了充满了选择性谎言的回忆录,则对社会历
史的构建是极大的摧残。下面我就列出我发现的这些问题,供大家讨论。每个问
题先列英文原文,再加上我的中文翻译(放在圆括号中。以意译为主,主要是为
了兼顾上下文),最后是我的评论(放在方括号中)。方舟子跟其他网友已经提
到的问题,我就不再赘述,但是如果我的发现具有补充价值的,则会一并列出。
我建议方舟子开傅苹的立此存照,以便集中收集证据。
1. On January 14, 1984, my parents, aunts and uncles, cousins, and
siblings gathered at the Shanghai International Airport to send me off
for my flight to San Francisco. I’ll never fo... 阅读全帖 |
|
G*******m 发帖数: 16326 | 15 3. The farthest I had been from Nanjing, the city of my birth, was
Suzhou University, where I had studied journalism and literature. (我
离开出生地南京,去过的最远的地方是江苏师范学院,在那儿我学习新闻学和文
学。)
倪玛,小时候没有去上海? |
|
b**********1 发帖数: 33 | 16 “To solve Latin America’s problems by eliminating Latin Americans”
“The United States is more concerned than any other country with spreading
and imposing family planning in the farthest outposts. Not only the
government, but the Rockefeller and the Ford foundations as well, have
nightmares about millions of children advancing like locusts over the
horizon from the Third World. ”
From
Continent> By Eduardo Galeano
同样道理:
"to solve ... 阅读全帖 |
|
w********e 发帖数: 8594 | 17 “Cynicism masquerades as wisdom, but it is the farthest thing from it.
Because cynics don’t learn anything. Because cynicism is a self-imposed
blindness, a rejection of the world because we are afraid it will hurt us or
disappoint us.”
― Stephen Colbert |
|
f********t 发帖数: 6999 | 18 【 以下文字转载自 Joke 讨论区 】
发信人: vespers (西瓜很好吃), 信区: Joke
标 题: 看看美国哪些行业的人偏左, 哪些偏右 (转载)
发信站: BBS 未名空间站 (Fri Jun 12 22:45:19 2015, 美东)
发信人: lczlcz (lcz), 信区: USANews
标 题: 看看美国哪些行业的人偏左, 哪些偏右
发信站: BBS 未名空间站 (Thu Jun 11 18:46:11 2015, 美东)
Chart: The most liberal and conservative jobs in America
By Ana Swanson June 3
You can probably guess that environmentalists and yoga instructors are more
likely to be Democrats -- and oil workers to be Republicans. But what about
flight attendants, talk show hosts, and... 阅读全帖 |
|
y********l 发帖数: 3970 | 19 Cynicism masquerades as wisdom, but it is the farthest thing from it. |
|
发帖数: 1 | 20 12月 谈谈间谍问题
我一直感觉Reuters 有日本的间谍,他们会通过报道来传递针对华人屠杀的计划,和发
布不利于华人的报道,制造舆论。最重要他们后边的势力和犯罪集团有关。有必要好好
调查这个组织。
How top U.S. colleges hooked up with controversial Chinese companies
By Steve Stecklow and Alexandra Harney
Filed Dec. 2, 2016, noon GMT
New Oriental, China’s biggest private educator, has been accused of
academic fraud. Thanks to two enterprising Americans, it has also gained
access to leading U.S. college admissions officers.
SHANGHAI/SHELTER ISLAND, New York - Thomas Benson once ran a small... 阅读全帖 |
|
W******e 发帖数: 529 | 21 你走弯路了吧?
Here's the exhaustive list of the extreme points and distance between them
in the United States
Greatest east-west distance in the 48 contiguous states: 2,800 miles (4,500
km)
Greatest north-south distance in the 48 contiguous states: 1,650 miles (2,
660 km).
https://www.quora.com/What-are-farthest-two-points-in-the-US |
|
b****a 发帖数: 4465 | 22 先生们、女士们,晚上好:
很荣幸获得Clarke Award for Imagination in Service to Society Award。
这个奖项是对想象力的奖励,而想象力是人类所拥有的一种似乎只应属于神的能力,它
存在的意义也远超出我们的想象。有历史学家说过,人类之所以能够超越地球上的其它
物种建立文明,主要是因为他们能够在自己的大脑中创造出现实中不存在的东西。在未
来,当人工智能拥有超过人类的智力时,想象力也许是我们对于它们所拥有的惟一优势。
科幻小说是基于想象力的文学,而最早给我留下深刻印象的是Arthur . Clarke的作品
。除了Jules Verne和George Wells外, Clarke的作品是最早进入中国的西方现代科幻
小说。在上世纪八十年代初,中国出版了他的《2001:A Space Odyssey》和《
Rendezvous With Rama》,。当时文革刚刚结束,旧的生活和信仰已经崩塌,新的还没
有建立起来,我和其他年轻人一样,心中一片迷茫。这两本书第一次激活了我想象力,
思想豁然开阔许多,有小溪流进大海的感觉。读完《2001:A Spac... 阅读全帖 |
|
g********d 发帖数: 4174 | 23 Why timing is crucial in the ongoing same-sex marriage cases
Rutgers law professor Carlos Ball argues that it would be better for
marriage equality supporters if the Supreme Court hears a DOMA case before
it considers Perry v. Schwarzenegger.
The following is an essay for our same-sex marriage symposium by Carlos A.
Ball, professor at the Rutgers University School of Law (Newark). Professor
Ball is the author of The Right to be Parents: LGBT Families and the
Transformation of Parenthood (NYU Pr... 阅读全帖 |
|
p******e 发帖数: 897 | 24 To Chairman Dean and my great friend Dick Durbin; and to all my fellow
citizens of this great nation;
With profound gratitude and great humility, I accept your nomination for
the presidency of the United States.
Let me express my thanks to the historic slate of candidates who
accompanied me on this journey, and especially the one who traveled the
farthest -- a champion for working Americans and an inspiration to my
daughters and to yours -- Hillary Rodham Clinton. To President Clinto |
|
l****z 发帖数: 29846 | 25 Thursday, 24 Feb 2011 02:51 PM
By Charles J. Little
A move to the right through back-to-back elections has turned the once-“
mavericky” Sen. John McCain into one of conservatism’s most dependable
votes, the National Journal reports. A tally of 2010 Senate ayes and nays
places McCain farthest right alongside five Republican colleagues with
considerably less fluid conservative credentials.
It’s a remarkable turnaround for a senator who used to routinely finish
near the bottom of the Journal’s an... 阅读全帖 |
|
l****z 发帖数: 29846 | 26 加州奥克兰华裔民主党市长关丽珍(Jean Quan)对“占领华尔街”示威进退失据;“她
对极左的占领运动的明显好感已经危及了她的城市”
Disorganizer-in-Chief
Jean Quan is a poor excuse for a mayor.
Occupy Oakland called for a general strike — the city grinding to a halt,
banks unattended, and schools closed. What they got was a few thousand
protesters vandalizing banks and briefly closing a unionized port, but more
important, a mayor happy to facilitate it all. Wednesday night would have
been no more disturbing than a vigorous though destructive demonstration by... 阅读全帖 |
|
l****z 发帖数: 29846 | 27 By Mark Steyn
March 17, 2012 4:00 A.M.
Our lesson for today comes from George and Ira Gershwin:
They all laughed at Christopher Columbus
When he said the world was round
They all laughed when Edison recorded sound
They all laughed at Wilbur and his brother
When they said that man could fly
They told Marconi wireless was a phony . . .
Fred Astaire and Ginger Rogers sang it in the film Shall We Dance? (1937).
Seventy-five years on, the president revived it to tap dance aro... 阅读全帖 |
|
l****z 发帖数: 29846 | 28 by Rick aka Mr. Brutally Honest
The Anchoress is using Nancy Pelosi as a launching point of sorts to predict
stormy times ahead, for the Church and for the country... but she ends on a
note of hope and wise advice:
I get yelled at when I say this but the worst-case scenario — and I
think it’s inevitable — will be a schism and the creation of an American
Catholic Church, one that works very closely with the government to “do the
right thing” and reaps its worldly rewards, both material and el... 阅读全帖 |
|
l****z 发帖数: 29846 | 29 Brrr: February brought record cold, snow to Northeast
March 1, 2015 - 12:36 PM
Associated Press
ALBANY, N.Y. (AP) — February 2015 was one for the record books in the
Northeast — the coldest month ever for three upstate New York cities and
the snowiest month ever for Boston.
The Northeast Regional Climate Center at Cornell University says Buffalo,
Syracuse and Ithaca shivered through their coldest month on record.
Center Director Art DeGaetano says February's average temperature was 10.9
degrees ... 阅读全帖 |
|
l****z 发帖数: 29846 | 30 Chart: The most liberal and conservative jobs in America
By Ana Swanson June 3
You can probably guess that environmentalists and yoga instructors are more
likely to be Democrats -- and oil workers to be Republicans. But what about
flight attendants, talk show hosts, and neurosurgeons?
Verdant Labs, which makes a baby names app, recently published an extensive
chart on the average political affiliations of various professions. To
create the graphic, the company aggregated data from the Federal El... 阅读全帖 |
|
f**********n 发帖数: 29853 | 31 That’s because the next president is likely to nominate up to three,
possibly even four, candidates to the U.S. Supreme Court. In January 2017,
when the next president takes office, Justice Ginsburg will be just shy of
84, Justices Scalia and Kennedy will be 80, and Justice Breyer will be 78.
Of the current justices, Justice Ginsburg and Justice Scalia are, arguably,
the farthest from one another on the spectrum of left to right. Replacing
either of them would have a substantial impact on future... 阅读全帖 |
|
b*****d 发帖数: 61690 | 32 Hundreds of migrants who reportedly have broken away from the caravan moving
through Guatemala are now said to be at that country’s border with Mexico,
just hours after President Trump issued a warning that he may ask the
military to get involved if officials there can’t “stop this onslaught.”
A migrant shelter in Tecun Uman on the Guatemalan side of the border
reported Thursday that hundreds of Hondurans from the caravan of about 4,000
have already made it there, according to the Associated Pre... 阅读全帖 |
|
j******o 发帖数: 4219 | 33 还是不能用,提案被老施枪毙了。
法律上说唯一可以mount的地方是"a 7-inch square area in the lower corner of
the windshield farthest removed from the driver (the passenger side) or in a
5-inch square area in the lower corner of the windshield nearest to the
driver (the lower left corner of the windshield)."
不过我看过很多人,包括我自己也还是照用不误,好像警察不怎么管。 |
|
y*****d 发帖数: 4451 | 34 SENATE BILL No. 1567
Existing law prohibits any person, except as specified, from driving
any motor vehicle with any object or material, placed, displayed,
installed, affixed, or applied in or upon the vehicle which obstructs or
reduces the driver’s clear view through the windshield or side windows.
先说了any object,就包括了所有devices
This bill would additionally exempt from these provisions a portable
Global Positioning System (GPS), which may be mounted in a 7-inch
square in the lower corner of the wi... 阅读全帖 |
|
s*****1 发帖数: 2312 | 35 Gas tax revenue down, officials eye mileage levy
With gas tax revenues down, state officials eye tax on 'vehicle miles
traveled'
By Dave Gram, Associated Press | Associated Press – 22 hours ago
Email
1
Print
MONTPELIER, Vt. (AP) -- Carpooling, higher fuel economy, hybrids and
electric cars may be good for the environment, but they're bad for
government transportation funding, which relies on gasoline and diesel taxes
to help pay for the building and upkeep of roads and bridges.
Now some states, ... 阅读全帖 |
|
f******e 发帖数: 206 | 36 http://dmv.ca.gov/pubs/vctop/d12/vc26708.htm
(13) (A) A video event recorder with the capability of monitoring driver
performance to improve driver safety, which may be mounted in a seven-inch
square in the lower corner of the windshield farthest removed from the
driver, in a five-inch square in the lower corner of the windshield nearest
to the driver and outside of an airbag deployment zone, or in a five-inch
square mounted to the center uppermost portion of the interior of the
windshield. As u... 阅读全帖 |
|
l********i 发帖数: 48 | 37
报州名,否则没意义,各州规定不同
上面有人贴了NY不能,我贴一个能的--
WI :
A RED arrow means the same thing as a red traffic light in Wisconsin.
If it is safe to do so, you can turn right on red if there is no sign
prohibiting it. (Where there are multiple right turn lanes, you can only
turn right on red from the lane farthest to the right if there is no sign
prohibiting it.) |
|
x*****d 发帖数: 704 | 38
可以放在driver side,左下角5x5 inch的角落。
California changed the law on mounting a GPS unit on your windshield,
but the law still seems complicated and limits your options.
(12) A portable Global Positioning System (GPS), which may be mounted
in a seven-inch square in the lower corner of the windshield farthest
removed from the driver or in a five-inch square in the lower corner
of the windshield nearest to the driver and outside of an airbag
deployment zone, if the system is used only for door-to-door
n... 阅读全帖 |
|
g*********r 发帖数: 403 | 39 Brake, then swerve, says instructor
By James R. Healey, USA TODAY
A driving instructor says his school has serendipitously discovered a cause
for many sport-utility vehicle rollover accidents, and has a cure.
It's simple, but not easy, because the safe move is counter-intuitive. In an
emergency, the correct tactic seems to be brake first, then steer. The
typical response, though, is swerve, then brake.
Steering first nearly guarantees that a high-centered SUV will turn over,
says Bud Stanley, a ... 阅读全帖 |
|
g*********r 发帖数: 403 | 40 Brake, then swerve, says instructor
By James R. Healey, USA TODAY
A driving instructor says his school has serendipitously discovered a cause
for many sport-utility vehicle rollover accidents, and has a cure.
It's simple, but not easy, because the safe move is counter-intuitive. In an
emergency, the correct tactic seems to be brake first, then steer. The
typical response, though, is swerve, then brake.
Steering first nearly guarantees that a high-centered SUV will turn over,
says Bud Stanley, a ... 阅读全帖 |
|
g*********r 发帖数: 403 | 41 Brake, then swerve, says instructor
By James R. Healey, USA TODAY
A driving instructor says his school has serendipitously discovered a cause
for many sport-utility vehicle rollover accidents, and has a cure.
It's simple, but not easy, because the safe move is counter-intuitive. In an
emergency, the correct tactic seems to be brake first, then steer. The
typical response, though, is swerve, then brake.
Steering first nearly guarantees that a high-centered SUV will turn over,
says Bud Stanley, a ... 阅读全帖 |
|
m**********r 发帖数: 2099 | 42 你好!
It is more than that, especially "30 seconds rule".
http://www.dmv.ca.gov/pubs/vctop/d12/vc26708.htm
(13) (A) A video event recorder with the capability of monitoring driver
performance to improve driver safety, which may be mounted in a seven-inch
square in the lower corner of the windshield farthest removed from the
driver, in a five-inch square in the lower corner of the windshield nearest
to the driver and outside of an airbag deployment zone, or in a five-inch
square mounted to the cent... 阅读全帖 |
|
e*******e 发帖数: 9616 | 43 左道blocker为什么招人恨?不仅仅是慢的问题,还有就是人家办急事从右道超你的车
,是冒着被吃罚单的危险,所以人家也是不得已而超车。 右道超车比左道超车技术含
量高多了,所以费老劲。
如果left lane blocker不能理解这个,那我也没词儿了。呵呵
http://www.mlive.com/news/grand-rapids/index.ssf/2011/03/traffi
(2) Upon a roadway having 2 or more lanes for travel in 1 direction, the
driver of a vehicle shall drive the vehicle in the extreme right-hand lane
available for travel except as otherwise provided in this section. However,
the driver of a vehicle may drive the vehicle in any lane lawfully available
to tr... 阅读全帖 |
|
s******g 发帖数: 3088 | 44 病人可怜兮兮的说笔记本电脑显示屏有问题, 一开始以为是自己不懂win 8的缘故,
但是一直不对劲
I took it to a computer technician. The colors are completely on the
farthest and brightest. Can not change it no matter what we try. People are
blue. Everything else green or yellow. Can't read labels. All yellow. He
tried every way possible as have I but will not change.
请问哪位大拿知道怎么回事怎么修理吗? |
|
c**i 发帖数: 6973 | 45 (1) Thanks to Overcloud.
(2) To Febaugust:
(a) I had mice (for biological experiments). They went to the same corner--
then side of the box, if the corner was not cleaned quickly enough*--
farthest from where they slept.
Custodians cleaned bedding twice a week. Afterwards, mice were euphoric,
playing with the new bedding.
(b) I learn from you litter box for hamster. I wonder how it is trained.
This is what I find.
A photo:
http://www.flickr.com/photos/esoteric_desi/3257677302/
How to Potty Train... 阅读全帖 |
|
z*********8 发帖数: 2070 | 46 4,2,0,2,3,2,0 不work吧
这样会将第一个0与最后一个2交换, 而不是将3和最后一个2交换
我觉得应该是:
find right most number which has the farthest number on the RIGHT of it
which is GREATER than it. |
|
|
|
a**********e 发帖数: 157 | 49 Thanks. 能给出一个比较intuitive的解释吗?看paper比较费劲。。。 |
|
s********x 发帖数: 914 | 50 抛砖引玉写了一个哈
// return [farthest path from root, longest path]
public static int[] getLongestPathInTree(TreeNode p) {
int farthestPathFromRoot = 0, secondFarthestPathFromRoot = 0,
longestPath = 0;
for (TreeNode child : p.getChildren()) {
int[] result = getLongestPathInTree(child);
int pathToFarthestChild = result[0] + child.weightToParent;
if (pathToFarthestChild > farthestPathFromRoot) {
secondFarthestPathFromRoot = farthe... 阅读全帖 |
|