由买买提看人间百态

topics

全部话题 - 话题: halved
首页 上页 1 2 3 4 5 6 7 下页 末页 (共7页)

发帖数: 1
1
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... 阅读全帖
d*****u
发帖数: 17243
2
世界各地古代都流行韵文,主要方便口头流传。
现在韵文基本只剩下歌词了。
Chaucer的文章很多是上下两句押韵(中古英语词尾的e都要发音)
Here bygynneth the Book
of the tales of Caunterbury
Here begins the Book
of the Tales of Canterbury
1: Whan that aprill with his shoures soote
2: The droghte of march hath perced to the roote,
3: And bathed every veyne in swich licour
4: Of which vertu engendred is the flour;
5: Whan zephirus eek with his sweete breeth
6: Inspired hath in every holt and heeth
7: Tendre croppes, and the yonge sonne
8: Hath in the ram his halve ... 阅读全帖
F********r
发帖数: 878
3
来自主题: Military版 - 禁枪不如研制枪伤药
Good idea, but what if you cut yourself into two exactly even halves and
apply your medicine? Are you going to have two "you"?
u***r
发帖数: 4825
4
https://time.com/5770140/millennials-change-american-politics/?utm_source=
facebook.com&utm_medium=social&utm_campaign=social-share-article&utm_content
=20200127&fbclid=IwAR36be58A6V9VvNGfu55yIWFvzqs8zNMpZsfrol02sAtggNde_
tGjMlveqI
How Millennial Leaders Will Change America
BY CHARLOTTE ALTER JANUARY 23, 2020
Love ’em or hate ’em, this much is true: one day soon, millennials will
rule America.
This is neither wish nor warning but fact, rooted in the physics of time and
the biology of human cells... 阅读全帖
w********r
发帖数: 14958
5
来自主题: Military2版 - 不查不知道F35相当NB
这个是我记错了。 确实记得有这个谣言,刚才一查,确实是谣言。
The United States Marine Corps is planning to purchase 340 F-35Bs,[185] to
replace all current inventories of the F/A-18 Hornet (A, B, C and D-models),
and AV-8B Harrier II in the fighter, and attack roles.[186]
In November 2010 as part of a cost-cutting measure, the co-chairs of the National Commission on Fiscal Responsibility and Reform suggested canceling procurement of the F-35B and halving orders of F-35As and F-35Cs.[39][40][41] At the same time Air Force Mag... 阅读全帖
y**********a
发帖数: 824
6
来自主题: Military2版 - 拦阻索有啥讲究没?
I have seen this video before, part of it was not shown here. A clip
following the ending drama here showed a redcoat man was halved.
m******8
发帖数: 2153
7
The American Civil Liberties Union has launched a lawsuit over the US
Defence Department’s policy of paying just half the usual severance pay to
individuals sacked under Don’t Ask, Don’t Tell.
The lawsuit was brought on behalf of former Air Force Staff Sgt. Richard
Collins, who was sacked in 2006 after civilian colleagues saw him kissing
his boyfriend and reported him to superiors.
He received an honorable discharge from the Air Force but discovered after
the discharge had been completed that hi... 阅读全帖
g********d
发帖数: 4174
8
来自主题: QueerNews版 - Why Not Regulate Guns as Seriously as Toys?
http://www.nytimes.com/2011/01/13/opinion/13kristof.html?_r=1&r
Op-Ed Columnist
Why Not Regulate Guns as Seriously as Toys?
By NICHOLAS D. KRISTOF
Published: January 12, 2011
Jared Loughner was considered too mentally unstable to attend community
college. He was rejected by the Army. Yet buy a Glock handgun and a 33-round
magazine? No problem.
To protect the public, we regulate cars and toys, medicines and mutual funds
. So, simply as a public health matter, shouldn’t we take steps to reduce
the... 阅读全帖
g********d
发帖数: 4174
9
来自主题: QueerNews版 - UK Gay Blood Ban Over?
Posted on Advocate.com April 10, 2011
UK Gay Blood Ban Over?
By Advocate.com Editors
The Telegraph reports that British officials are preparing to lift that
nation's ban on gay men donating blood, but the change comes with a caveat -
- those who had sex in the last decade are still banned.
In Britain, men who have sex with men have previously not been allowed to
donate blood because of fear over HIV contamination. An advisory group found
that should gay men be allowed to donate blood, and they h... 阅读全帖
D*V
发帖数: 3096
10
来自主题: RisingChina版 - NY times readers supporting badminton players
http://www.nytimes.com/2012/08/02/sports/olympics/olympic-badmi
don211
Tampa
NYT Pick
Flag
This is what you get with group play. It is far more important to win a
medal than to lose a game. It is a common practice to sacrifice a position
in contests from chess and checkers to baseball and other sports to get an
advantage. This is pure strategy, well within the rules and there is nothing
immoral about it. No rules were broken and no penalty should have been
imposed. If the rules don't provide the... 阅读全帖
c****e
发帖数: 9482
11
【 以下文字转载自 mitOCEF 讨论区 】
发信人: airdragon77 (仍然自由自我永远高唱我歌), 信区: mitOCEF
标 题: 活动:跟OCEF一起做节日贺卡
发信站: BBS 未名空间站 (Fri Dec 7 12:40:12 2012, 美东)
我们会提供一些OCEF资助过的孩子的照片,大家给这些照片配上几句话或者是一首小诗
,中英文不限,用来制作节日贺卡。话/诗一要跟照片相关,二要内容健康,尽量感人
或者好玩;如果跟某个特定节日气氛符合 更好,不过不是必须。
相关照片可见以下链接:
http://docs.google.com/folder/d/0B55M_xU4iKHxMEl4ZWxXNUc5Y2s/ed
根目录下分为若干个小目录,分别跟ocef的各个资助项目相对应; 点击进入某个分目
录后,左上方有个“open folder”的按钮,点击就可进入照片浏览模式。这些照片大
部分是ocef的义工走访学校的时候拍下的、孩子们的各种喜怒哀乐 -- 好吧,怒和哀
都不多,孩子们把自己最美最欢乐的一面都展现在镜头面前了。不过,也许这种逆境中
的欢笑更能打动人?
入... 阅读全帖
l****z
发帖数: 29846
12
http://www.washingtonpost.com/wp-dyn/content/article/2010/10/08/AR2010100806139.html
Amsterdam's cannabis-selling coffee shops face crackdown

The drive to shut down many of Amsterdam's cannabis coffee shops coincides
with a tightening of regulations on the sex trade. Both industries thrive in
the city's red-light district.
The drive to shut down many of Amsterdam's cannabis coffee shops coincides
with a tightening of regulations on the sex trade. Both industries thrive in
the city's red-ligh... 阅读全帖
y****t
发帖数: 10233
13
其实我关心的是,美国中产纳税人是不是又要买单了.
Former President Bill Clinton and other world leaders are announcing that
prices for long-acting contraception will be halved for 27 million women in
the developing world through a new partnership.
http://www.nytimes.com/aponline/2012/09/26/world/europe/ap-un-u
l******a
发帖数: 3803
14

StephenQueen must have a boyfriend of half AA half mexicano origins and be
very proud of it. The infight between the two halves such as in Zimmerman's
case has torn her apart. She may never get over it. To whom may understand.
l****z
发帖数: 29846
15
来自主题: USANews版 - 今年巴尔的摩的夏天将会很长
Black Lives Matter in Baltimore. Kinder Gentler Policing, Record Murder
Rates.
Michael Becker June 11, 2015
Black lives matter in Baltimore? Not to the black leadership in Baltimore
they don’t. Freddie Gray was a punk with at least 17 arrests to his credit.
He was not all that long out of prison and was facing felony charges that
could send him back to prison when he ran from the cops in April and was
arrested.
Gray was taken into custody, appears to have been bounced around in the back
of a po... 阅读全帖
l****z
发帖数: 29846
16
In a dramatic defeat for the White House, President Obama's trade agenda ran
aground in the House on Friday as Democrats banded together in opposition
despite a personal plea from the president.
In a 302-126 vote, the House killed a worker aid bill that was tied to the
president's main agenda item -- legislation that would give Obama "fast-
track" authority to negotiate trade deals. Without it, the trade push -- a
key plank of the president's second-term agenda -- withers for now. The vote
marke... 阅读全帖
b*****d
发帖数: 61690
17
来自主题: USANews版 - 牛鬼蛇神都出来了
Sabermetrics pioneer: There aren’t enough 'morons' to elect Trump
By Nick Gass
02/24/16 12:31 PM EST
The father of Sabermetrics is clearly not a fan of Donald Trump, and he is
using his own statistical analysis to explain why the Republican front-
runner will not be the 45th president of the United States.
In a post published this week to his website titled "Trump, as in Rump,"
author Bill James, who is known as one of the pioneers of the analysis of
baseball and in-game statistics, broke down h... 阅读全帖

发帖数: 1
18
来自主题: USANews版 - 钱说话 法国旅游业遭重挫
The capital has lost about 750meuros (644m) in revenue since
January
due to the fall in visitor numbers, officials said.
And the number of nights booked in hotels is down 11.4%.
Strikes and floods have also played a part, with tourism across the whole of
France down by 7%.
Wealthier tourists in particular were stayingaway from Paris, with high-
end places to stayreporting declines of between 30-40%.
The number of Japanese visitors almost halved in the first half of the year,
compared to the prev... 阅读全帖
b*****d
发帖数: 61690
19
来自主题: USANews版 - 奇闻赏析
作者:
Luke Perry, Ph.D., is chair and associate professor of Government at Utica
College, director of the Utica College Center of Public Affairs and Election
Research, election analyst for WKTV News Channel 2, and national political
columnist for the Observer-Dispatch.
President Trump's most recent travel ban cut the annual cap on refugees from
110,000 currently to 50,000. Much like the first ban, thought, this latest
one has been blocked by a federal judge.
Regardless of the order's status, howev... 阅读全帖
s********i
发帖数: 17328
20
来自主题: USANews版 - 看看以色列的控枪吧
https://nypost.com/2018/02/15/israels-gun-control-laws-can-make-the-us-safer
-too/
Israel exists under constant threat of attack — and requires citizens to
serve in the military — but still has much stricter gun laws than the
United States.
And those laws limit violence.
Israel has a lower gun-related homicide rate — and that’s not because it’
s an intrinsically peaceful society.
In fact, public health literature suggests that if Israel had more guns, it
would have more firearm deaths.
Even thos... 阅读全帖

发帖数: 1
21
http://foreignpolicy.com/2017/06/29/the-next-internment-would-chinese-in-the-u-s-be-rounded-up-during-a-war/
The next internment: Would Chinese in the U.S. be rounded up during a war?
Present U.S. leadership seems both to make war more likely through its
bellicose rhetoric and to heighten the risk that the conflict would lead to
violence against the American-Chinese population.
BY THOMAS E. RICKS | JUNE 29, 2017, 10:15 AM
Map_of_World_War_II_Japanese_American_internment_camps
By Giacomo Bagarell... 阅读全帖

发帖数: 1
22
这篇文章对可行性研究进行了分析。
The next internment: Would Chinese in the U.S. be rounded up during a war?
http://foreignpolicy.com/2017/06/29/the-next-internment-would-chinese-in-the-u-s-be-rounded-up-during-a-war/
By Giacomo Bagarella
Best Defense office of future operations
Present U.S. leadership seems both to make war more likely through its
bellicose rhetoric and to heighten the risk that the conflict would lead to
violence against the American-Chinese population.
As the title of one recent book on the s... 阅读全帖
h**********r
发帖数: 2284
23
来自主题: Automobile版 - Minivan is safer than SUV !
http://cnews.canoe.ca/CNEWS/Canada/2009/10/19/11447681-sun.html
It's a kind-of outdated study (just look at the publication date and the
model years in the investigation), when SUVs are highly subject to rolling
over.
Most of the folks here refer to ground clearance safety, where SUVs are
advantageous than minivans. Thus, SUVs are safer than minivans for small
accidents.
For bigger collisions, I think minivan should be equally safe given that
there's more room.
I don't think minivan has any stru... 阅读全帖
S*****r
发帖数: 1272
24
来自主题: Automobile版 - Highlander quote
I sill buy it if price is halved
T1
发帖数: 4732
25
来自主题: ebiz版 - 莫名其妙
一个iphone 2g,外观根全新的一样,就是不power up不充电,连上电脑没反应。
实在不忍心开盖啊,2g的开盖外观100%就废了。但是又没有办法,就开了。
结果把主板放到另一个显示屏上,work,把另一个主板放到打开的显示屏上,也
worked perfectly,touch screen everything。实在不明白为什么两个fully
functional halves合到一块就不power up?
b*****d
发帖数: 61690
26
来自主题: Faculty版 - trump看来是盯上NIH
FY17就要cut 1.2 billion from NIH.不过和他的budget一样,没戏。
Asked about including Southern border wall financing in the broader spending
package, Sen. Roy Blunt, R-Mo., a key negotiator, said, "They will not pass
together. That's just my view."
WASHINGTON (AP) — President Donald Trump is proposing immediate budget cuts
of $18 billion from programs like medical research, infrastructure and
community grants so U.S. taxpayers, not Mexico, can cover the down payment
on the border wall.
The White House document... 阅读全帖
d**u
发帖数: 1639
27
Roasting the turkey under foil for the first 1 1/2 hours infuses lots of
moisture and flavor into the bird.
【烤火鸡材料准备】
GIBLET BROTH (提前一天准备好):
□ 1 large can (48 ounces) chicken broth
□ Giblets and neck from turkey, rinsed and dried
TURKEY (感恩节当天做):
□ 1 turkey (about 18 pounds)
□ 1 large orange, halved
□ Paprika, salt and pepper, to taste
□ Cranberry Fennel Stuffing
□ 4 to 6 tablespoons unsalted butter, at room temperature
□ Plum Glaze (make one day ahead, 具体方法见跟贴“plum glaze”)
□ 2 large bunches r
c**i
发帖数: 6973
28
来自主题: Food版 - Apple Juice + Calf's Liver + Catfish
(1) Well, How About Them Apple-Juice Futures? Wall Street Journal, Apr 14,
2011.
http://online.wsj.com/article/SB100014240527
48703551304576260591420067976.html
Quote:
"Americans have been substituting apple juice for O.J. in their
refrigerators in recent years as prices for frozen orange juice * * * have
risen due to a squeeze on supplies.
"Americans have soured on orange juice over the past three decades.
Consumption has been halved between 1978 and 2008, to 5.5 gallons per capita
, according... 阅读全帖
E******n
发帖数: 6647
29
来自主题: Food版 - brownie cheesecake
今天我生日,烤了蛋糕请大家吃
cheesecake是我最爱
Brownie Cheesecake
Ingredients:
8 oz. (1 box) brownie mix
16 oz. cream cheese, softened
3 Tablespoons heavy whipping cream
1/2 cup sugar
2 large eggs
1 teaspoon vanilla
1 cup milk chocolate chips, melted
Brownie Cheesecake Directions:
1. Grease bottom of 9-inch springform pan.
2. Prepare the brownie mix as directed on package. Pour batter into pan,
bake for 15 minutes at 350 degrees F.
3. Combine cream cheese, whipping cream, sugar, and vanilla. Mix on
medium speed ... 阅读全帖
p****2
发帖数: 43
30
来自主题: Food版 - 蒜蓉龙虾
wow, looks better than that in legal seafood
how to cut lobster into halves?
c**i
发帖数: 6973
31
来自主题: Food版 - 乐施会告急:世界粮食危机
VOA Chinese, June 4, 2011.
http://www.voanews.com/chinese/news
/20110604-oxfam-food-crisis-123165298.html
Note:
(a) Oxfam
http://en.wikipedia.org/wiki/Oxfam
(founded in Oxford in 1942 as the Oxford Committee for Famine Relief by a
group of Quakers, social activists, and Oxford academics)
(b) Press release: Broken food system and environmental crises spell hunger
for millions. Oxfam launches global GROW campaign. Oxfam, May 31, 2011.
http://www.oxfam.org/en/pressroom/pressrelease
/2011-05-31/brok... 阅读全帖
E******n
发帖数: 6647
32
来自主题: Food版 - Strawberry mousse cake
为了庆祝同学新婚做的,9寸
mousse层参见yemaozhao方子
蛋糕底用的是布朗尼
* 1 cup white sugar
* 1/2 cup butter
* 1/4 cup cocoa powder
* 1/2 teaspoon vanilla extract
* 2 eggs
* 3/4 cup all-purpose flour
* 1/4 teaspoon baking powder
* 1/4 teaspoon salt
* 1/4 cup walnut halves
面表层果冻,颜色太深了,里面的草莓看不大出。以后得放一半的草莓jello一半原味
的,这样颜色可以浅一点
k****n
发帖数: 162
33
常识着做不同的风味,其实就是贪吃么 :)
在TJmaxx买了本spanish “Tapas”,试了几个,比较成功和喜欢的是这个 miniature
brochettes,原版用的pork,我做的时候刚好冰箱里有盒鸡心,就取而代之了,又加了
蘑菇和彩椒配色,虽然照片比较失败:(
材料:
1 lb lean, boneless pork (or similar amount chicken heart),
1 package (8 oz) button mushroom, cut to halves or 1/4,
1 large orange pepper.
marinating sauce:
3 tbsp olive oil,
grated rind and juice of 1 large lemon,
2 garlic cloves, crushed (or minced),
2 tbsp chopped fresh parsley, plus extra for garnish (I used cilantro,
depends on your taste),
salt and ... 阅读全帖
Y**i
发帖数: 6922
34
Best Ever Green Bean Casserole
Ingredients
For the topping:
• 2 medium onions, thinly sliced
• 1/4 cup all-purpose flour
• 2 tablespoons panko bread crumbs
• 1 teaspoon kosher salt
• Nonstick cooking spray
For beans and sauce:
• 2 tablespoons plus 1 teaspoon kosher salt, divided
• 1 pound fresh green beans, rinsed, trimmed and halved
• 2 tablespoons unsalted butter
• 12 ounces mushrooms, trimmed and cut into 1/2-inc... 阅读全帖
a***s
发帖数: 206
35
来自主题: Food版 - 怪味美国猪肉
Thanks for the info. It is not too different from what I know before. In US
the pig head is cut off before its body is halved. But this thread is about
the difference between Chinese vs US pig slaughtering, not Peta vs
Carnivores.
Ethics issues aside, my point is there is no proof the current pig slaughter
method in US and in China are any different in terms of dripping blood. The
"traditional" Chinese method may be less humane, but it is the same: stun
the pig, cut the vein/heart, steam to remo... 阅读全帖
m*******V
发帖数: 1022
36
看看能不能挣点儿包子。。。:) 这是我们家前年。。。的圣诞晚餐,因为“图控”(我
)的原因,变成“圣诞午餐”。做的都是常用的书里比较简单的西餐菜式,放在一起看
也有些规模哈。
开胃菜:Baked Brie with Honeyed Raspberries
材料:
1 块轮状Brie Cheese,250g左右。冷藏变硬后,把上面的白色的外皮切掉。Brie的白
色外皮在加热时是不会融化的,这样就相当于做了一个盛了奶酪的小碗。
1/4 cup蜂蜜
1 tsp balsamic vinegar
1盒raspberry(6盎司)
适量rosemary做装饰
做法:
1 烤箱预热350F度,把Brie放在小盘中,入烤箱加热3-5分钟。我在盘子下面垫上隔热
的硅胶垫,防止下面的brie受热过度化得太软,从rind的裂缝处流出来。到brie软化就
可以,不要让brie完全融化。那样就不能支持上面的水果了。
2 小锅中加入蜂蜜和balsamic vinegar,一边加热一边用橡皮铲搅拌,到温热融合即可
。把洗好拍干的raspberry加入,用橡皮铲翻动,使它们均匀地裹上蜂浆。
3.把做好的2浇到烤好的... 阅读全帖
i***R
发帖数: 663
37
来自主题: Investment版 - 我来说说对油价的看法
我不觉得油价很低。中国,美国都不行了。
而油价还跟3年前持平。
那时候的经济情况和现在能比较么。
即使不跌,也应该是在现有范围内持续很久。
China Halts November Gasoline Imports as Demand Falls (Update1)
By Winnie Zhu
Dec. 15 (Bloomberg) -- China, the world's second-biggest energy consumer
after the U.S., halted gasoline imports and halved diesel purchases last
month as the economic slowdown damped fuel demand growth.
Diesel imports dropped to 40,000 metric tons, the lowest since August last
year, from 80,000 tons in October, figures from the Customs General
Admin
h*******y
发帖数: 864
38
These target funds just give one a false sense of stability and complete
ignore market conditions. Say, if an unfortunate soul was planning to setup
a college fund for his kid at the end of the last century. The target fund
would require him to be all in at the the market peak, and switch now to the
ridiculous treasury yield today when the original investment is halved.
As Warren Buffett puts it, to be successful in investment, you need some wet
snow and a very long hills. The college-fund hill
n******n
发帖数: 12088
39
来自主题: Investment版 - 大家对上海楼市有何看法?
But main stream economists dare not to count rent-seeking cost in the
official article, lol.
Also, the land cost is fixed and easily amortized if the build has many
floors. 10-floor to 20-floor, land cost may not halve, but reduction of 40%
is very likely.
G******t
发帖数: 1782
40
来自主题: Investment版 - John Mauldin 的季度回顾与了望
http://www.investorsinsight.com/blogs/john_mauldins_outside_the_box/archive/2009/10/12/quarterly-
review-and-outlook-third-quarter-2009.aspx
Dollar Weakness
The inflation outlook from the monetary and fiscal standpoint looks truly
deflationary, yet some believe that
dollar weakness will reverse this circumstance and create inflation. This is
unlikely. First, our imports are
about 13% of GDP, and even if the dollar were to halve in value, the price
of imported goods would not only
have to compete
m*****u
发帖数: 1342
41
Why not hold MSFT for last 10 years? Yeah, if you do that, your investment
will be halved in 10 years.
Taxation is always secondary to the profit/loss in investing.
n****u
发帖数: 229
42
Sorry, ur ira may be halved if state law allows. U need to talk to a lawyer.
S**C
发帖数: 2964
43
来自主题: Investment版 - 80% active MM lose to index....what 80%?
I am not familiar with the funds you mentioned other than FCNTX, mainly
because it is in our 401(k). Will is a great manager, IMHO one of the best
in business, but it irks me a lot that Fido keeps it open at nearly $100B.
Adding other funds Will managed with similar style, the total probably is
above $120B. The only thing I can think of positively is the fees reduced a
little bit to 0.74%. Going forward, he will be hard-pressed to outperform
benchmark, it is just a cash cow for Fido.
Accroding t... 阅读全帖
g*******y
发帖数: 1930
44
来自主题: JobHunting版 - 请教一道算法题
回复在careercup上的:
geniusxsy on October 19, 2009 |Edit | Edit
for (a), halve the matrix into two pieces, so the largest square can be:
in the left region --- recursive call on the left region
in the right region --- recursive call on the right region
cross the mid separation line --- O(N*M)
So, finally:
T(N,M) = 2 * T(N/2,M) + O(N*M)
k***e
发帖数: 556
45
来自主题: JobHunting版 - 问一道算法题
放什么飞机?npc也搞出来了。
In computer science, the partition problem is an NP-complete problem. The
problem is to decide whether a given multiset of integers can be partitioned
into two "halves" that have the same sum. More precisely, given a multiset
S of integers, is there a way to partition S into two subsets S1 and S2 such
that the sum of the numbers in S1 equals the sum of the numbers in S2?
如果可以多项式时间解决楼主的问题,只要m取2,看得到的subset summation是否等于
sum/2,就可以回答该set是否能够partition的query?
麻烦大侠以后能贴点靠谱的题目。
l***i
发帖数: 1309
46
split into two halves, solve each half recursively, then do some swaps to
get the positive subarray from right to left and the negative subarray from
right to left.
c******n
发帖数: 4965
47
来自主题: JobHunting版 - 问一个amazon的数组排序题
I see it now
I can understand the code, but the code is kind of different from the
paper from the Finnish guys.
the paper's most important point is "
given 2 sorted arrays, size N and M, N we need only a size N extra workspace to merge these 2"
but the following code does not utilize that assertion.
the code is fairly clear:
array_A, array_B, let's say size(array_A) > size(array_B)
then cut A into halves
A1 A2 B
then for the first element x of A2, find the largest element in B that
is small
b***e
发帖数: 1419
48
来自主题: JobHunting版 - 寻找下一个回文数
Split the string s into halves: s1 and s2.
If s1.concat(s1.reverse()) is bigger than s, then done.
Otherwise, let s1 be parseInt(s1) + 1, return s1.concat(s1.reverse()).
Two edge cases:
1. Case study the length of s: odd vs. even.
2. s1 is all '9'.
R***r
发帖数: 120
49
来自主题: JobHunting版 - G的电面题,是什么意思啊?
Programming: interval halving. Given a continuous function 'f(x)'
and an interval on the x-axis from 'start' to 'end'. It is know
that 'f(x)=0' for exactly one value of 'x' between 'start' and
'end', and that ‘f(x)’ crosses the x-axis at this point. Write a
program that repeatedly cuts in half the interval until the
interval containing 'f(x)=0' is equal or less than 'epsilon' wide.
原题就是这样直接贴上来,一个老印,听不懂他说什么又看不明白题目,数学的东西也好
久没看了,看来是死定了。大家能说说这题目是什么吗?谢谢。
l***i
发帖数: 1309
50
来自主题: JobHunting版 - 面试题 finding missing value
another way is to use partition. split the numbers into two halves, one with
<= n/2, and the other with >n/2, then recurse on one with a smaller count.
首页 上页 1 2 3 4 5 6 7 下页 末页 (共7页)