由买买提看人间百态

topics

全部话题 - 话题: fractions
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)
l****z
发帖数: 29846
1
The odds of life existing on another planet grow ever longer. Intelligent
design, anyone?
By
Eric Metaxas
Dec. 25, 2014 4:56 p.m. ET
In 1966 Time magazine ran a cover story asking: Is God Dead? Many have
accepted the cultural narrative that he’s obsolete—that as science
progresses, there is less need for a “God” to explain the universe. Yet it
turns out that the rumors of God’s death were premature. More amazing is
that the relatively recent case for his existence comes from a surprising
place—s... 阅读全帖
T*********I
发帖数: 10729
2
这种新闻虽然在具体细节上不一定准确,也许楼主可以澄清。但是类似的情况(确实是
发生过的。
2011年,加州 Mother’s Day Celebrations Banned as Sexist。
http://www.orangejuiceblog.com/2011/05/mothers-day-celebrations
“Declaring celebration of Mother’s Day sexist, the California Department
of Health and Human Services has proposed regulations that would criminalize
the celebration. ”
California State Assemblymen Sonci Degiorno took up the cause at the
Assemply level, “People need to understand that they can’t simply have a
holiday that offends part o... 阅读全帖
S*******h
发帖数: 7021
3
来自主题: USANews版 - 搞笑的Trump Winery History
昨天开了一瓶Chardonnay葡萄酒来喝 味道还不错 上网查评分 原来还得过很多奖
看这段Trump如何用超低价买下Trump Winery的历史很搞笑
Trump bought the 1,300-acre vineyard and winery for a fraction of its
original value. Patricia Kluge had owned the property and spent much of her
$100-$200 million fortune over two decades developing it into a winery; as
her finances dwindled, so did her chances of retaining the property. Bank of
America owned the mortgage on the mansion itself and was foreclosing, but
the surrounding property remained in a Kluge famil... 阅读全帖
f**********n
发帖数: 29853
4
来自主题: USANews版 - 黑人良心索维尔,The War on Cops
刚出的新文章。热腾腾的。里面就提到了Obama第一年哈佛教授与白人警察那件事。
http://townhall.com/columnists/thomassowell/2016/07/12/the-war-on-cops-n2191290
There was never a more appropriately named book than "The War on Cops" by
Heather Mac Donald, published a few weeks ago, on the eve of the greatest
escalation of that war by the ambush murders of five policemen in Dallas.
Nor is this war against the police confined to Dallas. It is occurring
across the country. Who is to blame?
There is a ton of blame, more than enough to go ar... 阅读全帖
b*****d
发帖数: 61690
5
来自主题: USANews版 - Conway回应morning joe的指责了
White House counselor Kellyanne Conway responded Tuesday to accusations that
she has acted disgusted by President Trump when the cameras aren't rolling.
Conway’s statement came in response to claims made by the hosts of MSNBC’s
“Morning Joe.” Joe Scarborough and Mika Brzezinski mocked Conway during
their show, saying she is in private disgusted by Trump.
“The notion that I am serving for ‘the money’ or a ‘paycheck’ is absurd
. As campaign manager, I made a fraction of what other consultants have... 阅读全帖
m*********e
发帖数: 533
6
全球一盤棋:漫談2018年的中美博弈(中)
美元的流動、流量、和流向
經濟的要訣就是貨幣需要流動。根據英國經濟學家凱恩斯的理論,只要貨幣流動起來,
就會造成經濟繁榮,反之則進入蕭條。
美國的金融操作就是根據凱恩斯的理論來實踐。美聯儲用低利息促進美元的流動,用量
化寬鬆控制美元的流量,用升息來控制美元的流向,「華爾街」在每一個過程都可以套
利,這其中匯率的變化是非常重要的,特別需要專業的技巧。
我們綜合美國的金融操作就不難發現,美元的流動、流量和流向是最關鍵的三個要素,
要想打破美國對全球的金融操作就必須在這三個要素上下功夫,而這正是中國正在進行
的。
中國的對策和陽br />
美國家大業大、科技發達、財大氣粗,做生意本來就佔上風,何況後面還有強大的軍隊
。所以在商業貿易上美國對付小國綽綽有餘,無往不利。美國不但可以玩弄商業規則,
而且逼不得已還可以耍賴,定一套國內法強詞奪理來治你。最後,萬不得已,還可以出
動軍隊讓你屈服或者乾脆消滅你,譬如伊拉克。
美元霸權橫行世界數十年,衝鋒陷陣,所向無敵,每次貿易戰美國都賺得盆滿缽滿,直
到今天碰到中國這個對手。這次是真正遇到麻煩了,我們來稍微分析... 阅读全帖
M*P
发帖数: 6456
7
来自主题: Faculty版 - 聊点正事:大数据。
Why Big Data Could Be a Big Fail
Spectrum: If we could turn now to the subject of big data, a theme that runs
through your remarks is that there is a certain fool’s gold element to our
current obsession with it. For example, you’ve predicted that society is
about to experience an epidemic of false positives coming out of big-data
projects.
Michael Jordan: When you have large amounts of data, your appetite for
hypotheses tends to get even larger. And if it’s growing faster than the
statistical st... 阅读全帖
a**y
发帖数: 464
8
来自主题: Faculty版 - 海龟考虑国内学生素质的问题
不知道其他方向。化学方向选的刊物都是领域内比较好的,
另外
The wighted fractional count (WFC) is a modified version of FC in which
fractional counts for articles from specialist astronomy and astrophysics
journals have been down weighted. These journals encompass a much larger
proportion of the total publication output of these fields than any other
field covered by the Nature Index.
The Nature Index journals
The current 12-month window on natureindex.com includes data from 56,610
primary research articles from the followin... 阅读全帖
k*n
发帖数: 1203
9
仔细读你的ticket,法庭寄的notice,看清楚是不是misdemeaner? 还是fraction?
fraction就是所谓的违规,不算犯罪。
如果是misdemeaner(轻罪),多半是了,因为都arrest了,会留犯罪记录,赶紧找律师。别在这儿问大妈了。
k*n
发帖数: 1203
10
仔细读你的ticket,法庭寄的notice,看清楚是不是misdemeaner? 还是fraction?
fraction就是所谓的违规,不算犯罪。
如果是misdemeaner(轻罪),多半是了,因为都arrest了,会留犯罪记录,赶紧找律师。别在这儿问大妈了。
w******i
发帖数: 1476
11
来自主题: JobHunting版 - 一个很全SAS Interview Q. List [ZT]
SAS Interview Questions from http://www.sconsig.com/
Very Basic
What SAS statements would you code to read an external raw data file to a DATA
step?
How do you read in the variables that you need?
Are you familiar with special input delimiters? How are they used?
If reading a variable length file with fixed input, how would you prevent SAS
from reading the next record if the last variable didn't have a value?
What is the difference between an informat and a format? Name three informats
or format... 阅读全帖
d*********e
发帖数: 3835
12
来自主题: JobHunting版 - POSITION AVAILABLE: Flight Safety Specialist
POSITION AVAILABLE:
NetJets, Inc.
Job Description
Flight Safety Specialist
NetJets Inc. is the worldwide leader in private aviation, and as a Berkshire
Hathaway company, NetJets has the commitment and resources to invest what
is necessary to provide the safest and most reliable travel management
service.
NetJets fractional aircraft ownership allows individuals and companies to
buy a share of a private jet at a fraction of the cost of whole aircraft
ownership with guaranteed availability in as fe
b*****o
发帖数: 715
13
来自主题: JobHunting版 - 不知道发到哪个版,发这里试一下
那还是贴code吧,我算出来是140240。 code很没有效率,要算半分钟~
//////////////////////////////////
import fractions
import time
N = 3
M = 3
def notCollinear(i, j):
a, b = map(lambda x: (x / N, x % N), (i,j))
if abs(fractions.gcd(a[0] - b[0], a[1] - b[1])) > 1:
return False
return True
def adjoin(S):
return reduce(lambda x, y: x + y, S)
def nextRound(pw):
return adjoin(map(lambda x: [x + [i] for i in xrange(N * M)
if not i in x and notCollinear(i,x[-1])], pw))
def findAll():
pw = [[[i] for i in xrang... 阅读全帖
d****t
发帖数: 372
14
来自主题: Living版 - 父母领美国福利
这个教授本人是个jew, 却是个反华先锋! 大家应该反击它才对!
http://www.arthurhu.com/index/matloff.htm
Norman Matloff, The Hatchet Man of Asian Immigration
(Arthur Hu's Norm Matloff fan site) | New additions
Arthur Hu's Norman Matloff page
http://www.arthurhu.com/index/matloff.htm
2 Quick Intros to Matloff / Immigration Issues
Asian Focus April 1998: The Chinese Must Go! Matloff's Myth of a Programmer
Shortage
George Nichol's Other Matloff Fan Site (easier to navigate than this one!)
Where Matloff's been Published
How to C... 阅读全帖
t**e
发帖数: 1805
15
来自主题: Living版 - 要卖房子了
Where are you? If you are in the Bay Area of California, you can keep this
as a rental. I will show you where you can buy a house for a fraction of
what you pay at where you are, and send your kid to private school for a
fraction of what you pay in the Bay area.
F***Q
发帖数: 6599
16

why not asking quotes from local pool companies?
not many people have pools here; among them, only a small fraction has the
same type as yours, probably a even smaller fraction have ever had cracks.
w*********e
发帖数: 383
d****g
发帖数: 7460
18
话说今天我在路上自推common core,颠覆基本常识。。突然想到:
在数字化的世界里,根本不存在0.33333....因为0.33333...的定义就是无限连续的,
模拟的。。
所以 float f = 1/3; 此时的f立刻就不是1/3了。。
所以分数和小数是有本质区别的。
所以CS里应该有一个分数的概念。。
Fraction f = (1, 3);
Fraction g = (1, 2);
f + g = (5, 6);

散?
t*******r
发帖数: 22634
19
来自主题: Parenting版 - 分数应用题
外加所有分数都可以分解成 a natural number multiple a unit fraction, 其中的
unit fraction 是 multiplicative inverse of a natural number,的概念。
这样彻底没有争议或矛盾了。
w*********s
发帖数: 2136
20
Physical Silver Price is Really $50 per Ounce (80% Premium on COMEX Silver
Non-Delivery)
Commodities / Gold and Silver 2011 Mar 06, 2011 - 12:46 PM
By: Chris_Kitze
Wynter_Benton update on their recent raid With permission, I can update the
results of our raid. It was successful beyond imagination but that "success"
has spawned even more questions about the price of paper silver going
forward. It was reported by SGS that he heard that on Friday Blythe was
offering 30-50 percent premium and that a... 阅读全帖
s********i
发帖数: 17328
21
来自主题: Stock版 - 反金本位都是不懂经济的
actually, i am not totally sure how "full reserve" works. "full reserve"
means no "lent out", then where do people borrow money? if you set up an
investment account instead of "full reserve" saving account for lending,
this investment account would be fractional. eventually, overall it is still
a fractional banking system.
N********n
发帖数: 8363
22

The biggest cancer of the system is fractional reserve lending. Fed was
established to reduce the FRL risk, and yet just like a typical Federal
program (even tho FED is not technically a government agent) it achieves
exactly the opposite.
Before the FED, when banks collapsed over FRL practice it's limited to
a few banks. With FED in charge of national interest rate they cause
systemic collapse when they run it too loose that affects every bank.
Fed's loose policies in 20's caused the 1930's dep... 阅读全帖
l**t
发帖数: 6971
23
来自主题: Stock版 - 美元印钞机的工作原理
旧文重贴。。。
要说印钱,实际上是在小布什时期滥发次贷的时候,通过银行的credit印出来的。Fed
不得不靠QE“印钱”,是因为次贷崩了,等于钱被“烧”了,消失了。如果Fed不印钱
补上,金融系统就要崩溃了。M3(非官方统计)到现在都没有恢复到金融危机前的最高
点。
--------------------------------------------------------------------
Fractional Reserve Banking System
假设我帮在中国的朋友打了两瓶美国酱油带回去,人家用人民币从中国银行换了100美
元给我当辛苦费。这100美元现在是美国银行系统以外的,然后我高高兴兴地把这100美
元存入了美国酱油银行,把它送进了银行系统。酱油银行会把我这100美元锁在保险箱
里替我保管着,随时等我回来取吗?No way。人家按照Federal Reserve的规定,留下
10%的准备金(reserve),转手就把90美元借给信用卡欠债的史密斯先生了。史密斯先生
高兴地说了声“中国人OK!”,赶紧去买了个iPhone。Apple把这90美元作为工资
d... 阅读全帖
M*****8
发帖数: 17722
24
来自主题: Stock版 - How To Beat Warren Buffett
In fact you can use this method to outperform any famous
fund that is FA-based, and ride on the latter's glory.
While doing so, your effort is only a fraction of what
the fund expends on its FA research. Your cost for out-
performance is a tiny fraction of the fund's overhead.
s*******1
发帖数: 151
25
来自主题: Stock版 - LCC
US Airways Group (NYSE:LCC) is one of today's biggest movers, down 2.9% to $
6.00. The S&P is currently trading fractionally lower to 1,219 and the Dow
Jones Industrial Average is trading fractionally higher to 11,879.
In the past 52 weeks, US Airways Group share prices have been bracketed by a
low of $3.96 and a high of $11.56 and are now at $6.00, 52% above that low
price. In the last five trading sessions, the 50-day moving average (MA) has
climbed 1.0% while the 200-day MA has slid 0.9%.
US ... 阅读全帖
l******3
发帖数: 1478
26
公司合并了。yahoo新闻都有啊。
SAN DIEGO, March 21, 2016 (GLOBE NEWSWIRE) -- Celladon Corporation (CLDN)
announced today that, based upon the final vote count certified by the
independent inspector of elections for the special meeting of stockholders
held March 21, 2016, stockholders approved all of the merger-related
proposals, including: (i) the merger and issuance of Celladon common stock
pursuant to the Agreement and Plan of Merger and Reorganization, dated
November 18, 2015, by and among Celladon, Cella... 阅读全帖
x*******1
发帖数: 28835
27
【 以下文字转载自 Military 讨论区 】
发信人: breakupfee (poison pill), 信区: Military
标 题: 最新的分析和大料,毛骨悚然
发信站: BBS 未名空间站 (Mon Jan 30 19:07:33 2017, 美东)
The theme of this morning’s news updates from Washington is additional
clarity emerging, rather than meaningful changes in the field. But this
clarity is enough to give us a sense of what we just saw happen, and why it
happened the way it did.
I’ll separate what’s below into the raw news reports and analysis; you may
also find these two pieces from yesterday (hea... 阅读全帖
s*****h
发帖数: 44903
28
来自主题: Football版 - 赌场严重不看好宁泽涛呀
Moneyline odds
Moneyline odds are favoured by American bookmakers. There are two
possibilities: the figure quote can be either positive or negative.
If the figure quoted is positive, the odds are quoting how much money
will be won on a $100 wager (this is done if the odds are better than even).
For example, fractional odds of 4/1 would be quoted as +400.
If the figure quoted is negative, then the moneyline odds are quoting
how much money must be wagered to win $100 (this is done if the o... 阅读全帖
s**********w
发帖数: 866
29
来自主题: Pilot版 - FAA的执照有神马用处哟
自己买飞机太贵的话可以考虑fractional ownership 或 fractional lease. 不过看你
要飞多少了. 就是玩玩的话还是租吧.
w**********p
发帖数: 559
30
来自主题: Swimming版 - 游泳日记 Age Group 13 Girl LCM
I know this must has been a very challenging three day for both kid and
parents.
This is good for her because she will be well tested.
I see big improvement coming her way.
Her fractions at each 50 meter will allow you can keep track of improvement.
I agree with "pH5" assessement on this video.
>Plus:
-I saw improvement on her breaststroke but I don't know her fraction.
-I like her breaststroke.
-Have her thinking in term of butterfly with her head movement when doing
breastroke.
>Room for impro
t******g
发帖数: 17520
31
来自主题: TVGame版 - 游戏Destiny 和电视剧the strain
如果你用了fraction的gear 打crucible, 那就是不攒crucible的reputation,
只到fraction的reputation?
我觉得不做bounty的话, 太慢了, 几个bounty做下来就升一级了

reputation
d*******i
发帖数: 2354
32
来自主题: Collectibles版 - 聊下最近铂金买卖
I like 1 oz better than franctionals too. But people in the states seem to
favor fractionals. They are used to pay a higher premium. So, if I can find
fractionals close to spot+150, I can easily make some quick money over ebay.

1/
m*****u
发帖数: 19562
33
来自主题: Collectibles版 - 09 gold buffalo bullion will be released soon.
No proof one-ounce American Eagle gold or silver collector coins will be
produced in 2009 by the U.S. Mint.
The bad news, cleared for release at noon Eastern Daylight time Oct. 6,
doesn’t end there.
There will also be:
• No “W” mintmarked uncirculated silver American Eagle collector
coins,
• No proof fractional gold American Eagles,
• No “W” uncirculated one-ounce gold American Eagles (the
fractionals of this were killed at the end of last year),
• No Uncirculated Dollar
a**u
发帖数: 7128
34
来自主题: Collectibles版 - anyone has any Pt AE franctional
Anyone has some pt eagle fractional willing to sell or trade?:
06W burnished 1/2, 1/10
07W burnished 1/4, 1/10
08W burnished 1/2, 1/4,1/10.
Also looking for fractional for Proof:
04,05,07,08.
PM me.
s*********8
发帖数: 901
35
来自主题: Collectibles版 - 请问APMEX有什么promo code吗
Somtimes they email you a code.
Dear XXXXXX,
If you have been waiting for the release of the 2010 Fractional Gold
American Eagle coins, your wait is officially over.
APMEX is very excited to provide the highly anticipated 2010 Fractional (1/2
, 1/4 and 1/10 ounce) Gold American Eagle coins to its customers.
APMEX has secured a limited quantity of these prized gold bullion coins from
the U.S. Mint. Due to high anticipation and popularity, these coins are
expected to be in very short supply. On to
e*****r
发帖数: 621
36
来自主题: Collectibles版 - Gold Coin Sellers Angered by New Tax Law
I can imagine the fractional gold coins are going to be more popular. Maybe
it is wiser to load on them now. The question is what fraction can be most
valuable in the long run.
Y*******n
发帖数: 4646
37
来自主题: Fashion版 - 中国女生追求“瘦”有点过分
OK, then I want to point out, that's a tiny fraction in her supporting
material to her point. She wanted to enumerate examples of extreme weight
losing method, and might (or might not) included a wrong notion.
there is no limit to nutrition science, even now we are having discoveries
every day. having no 碳水 intake sounds extreme to me but you might have
more scientific facts to prove me wrong. REgardless, though, Just because
you have some knowledge on a fraction of supporting instasnce, doesnt
m*****n
发帖数: 7450
38
来自主题: LeisureTime版 - 有幽默感的女生一例
yeah, but that's going in a loop
from wiki:
The number twelve, a highly composite number, is the smallest number with
four non-trivial factors (2, 3, 4, 6), and the smallest to include as
factors all four numbers (1 to 4) within the subitizing range. As a result
of this increased factorability of the radix and its divisibility by a wide
range of the most elemental numbers (whereas ten has only two non-trivial
factors: 2 and 5, with neither 3 nor 4), duodecimal representations fit more
easily tha... 阅读全帖
E*i
发帖数: 5804
39
来自主题: LeisureTime版 - 我的鸟飞了 (转载)
Jesse说的意思还有点不一样。。。他的意思是说,如果灵魂守恒的话,我们现在都是
稀释了的人。。。
//我很喜欢before sunrise/sunset系列啊。。。
Jesse: Okay. Well, this is my thought. 50,000 years ago, there are not even
a million people on the planet. 10,000 years ago, there's like 2,000,000
people on the planet. Now, there's between 5 and 6 billion people on the
planet, right? Now, if we all have our own, like, individual, unique soul,
right, where do they all come from? Are modern souls only a fraction of the
original souls? Because if they are, that r... 阅读全帖
b*s
发帖数: 82482
40
来自主题: LeisureTime版 - 佛教与科学彻底相容 (转载)
OK, well this was my thought: 50,000 years ago, there are not even a million
people on the planet. 10,000 years ago, there's, like, two million people
on the planet. Now there's between five and six billion people on the planet
, right? Now, if we all have our own, like, individual, unique soul, right,
where do they all come from? You know, are modern souls only a fraction of
the original souls? 'Cause if they are, that represents a 5,000 to 1 split
of each soul in the last 50,000 years, which i... 阅读全帖
a*******a
发帖数: 451
41
对一些big questions的解读,有兴趣的推荐读完,可以开启心智!
---------------------------------------
The nature of dark matter and dark energy in the cosmos
Science is based on a very strict process - of taking existing well-tested
theories and then observing something. This something observed is not
understood so hypothesis (or educated guesses) are made as to what drives
that phenomena. Where the inspiration comes to come up with a hypothesis,
that's interesting and bounds on the spiritual, but from there the process... 阅读全帖
z***i
发帖数: 1122
42
来自主题: PhotoForum版 - 推荐这篇文章给大家看看
我没有仔细研究过HCB,只是东看一点西看一点,误解可能也不少.我想这里有两个问题.
(1) HCB认为什么是一张好照片?
根据他的名言:
To me, photography is the simultaneous recognition, in a fraction of a
second, of the significance of an event as well as of a precise organization
of forms which give that event its proper expression.
我同意你说的 “一张照片同时具备narrative和formal两方面完整性”. Formal当然不
用说. Narrative或许可以理解是他这里说的 “give that event its proper
expression.”
(2) 另外一个问题我觉得是HCB做为一个艺术家是不是就是追求拍到一堆好照片?达到所
谓的著作等身什么的.
今年刚出的有一篇文章叫 “Shootin... 阅读全帖
g****g
发帖数: 1828
43
来自主题: WaterWorld版 - Normal distribution
In probability theory, the normal (or Gaussian) distribution, is a
continuous probability distribution that is often used as a first
approximation to describe real-valued random variables that tend to cluster
around a single mean value. The graph of the associated probability density
function is “bell”-shaped, and is known as the Gaussian function or bell
curve:[nb 1]
f(x) = \tfrac{1}{\sqrt{2\pi\sigma^2}}\; e^{ -\frac{(x-\mu)^2}{2\sigma^2}
},
where parameter μ is the mean (location of the pe... 阅读全帖
p*e
发帖数: 6785
44
【 以下文字转载自 Military 讨论区 】
发信人: hiahiahia (guaiguai), 信区: Military
标 题: 袁岚峰:中国科技实力正以多快的加速度逼近美国 (ZT 供评论或批判)
发信站: BBS 未名空间站 (Wed Aug 12 21:15:12 2015, 美东)
【BBC关于中国教师在英执教的纪录片,再度掀起了中西教育对比的大讨论。在正反双
方的唇枪舌剑中,中国科技水平自然“躺枪”,比如缺乏重大突破,本土科学家没有拿
过诺贝尔奖等等。世界第二大经济体真的是靠低技术撑起来的?中科大副研究员袁岚峰
博士赐稿观察者网,详细分析了中国科技水平在世界上的位置。】
如何理解当今的世界大势?世界和中国如何演化到现在这样?将来会怎么样?要回答这
些问题,就要先看清大图景。
科学中,不同的事实材料有不同的重要性。首先要理解和解释那些最重要的事实,才能
建立起理论体系。当然,判断哪些事实最重要,最值得解释,是需要洞察力的。例如爱
因斯坦从测量地球在以太中漂移速度的否定结果,领悟到以太根本不存在,光速在所有
惯性参照系中都相等,以此为基础建立起了狭义相对论的大厦。民科... 阅读全帖
t********r
发帖数: 4908
45
来自主题: Hubei版 - 跟风写信给santa
【 以下文字转载自 K12 俱乐部 】
发信人: thelishier (仙剑), 信区: K12
标 题: 跟风写信给santa
发信站: BBS 未名空间站 (Wed Dec 1 23:39:12 2010, 美东)
很多单词不会写,都是我搞定的。语法错误没管,拼写错误都被我纠正了,呵呵
文盲我还专门google了一下fraction的意思,原来是分数
Dear Santa,
My name is Tina Li. Please can I have a kitchen? If you don't have a kitchen
, you can give me a jewelry box. If you don't have a jewelry box, you can gi
ve whatever things you want to give me. My little sister wants one present t
oo, that is baby toys and plastics.
I feed my little sister sometimes, I he... 阅读全帖
w***n
发帖数: 4358
46
☆─────────────────────────────────────☆
thelishier (仙剑) 于 (Thu Dec 2 13:43:19 2010, 美东) 提到:
【 以下文字转载自 K12 俱乐部 】
发信人: thelishier (仙剑), 信区: K12
标 题: 跟风写信给santa
发信站: BBS 未名空间站 (Wed Dec 1 23:39:12 2010, 美东)
很多单词不会写,都是我搞定的。语法错误没管,拼写错误都被我纠正了,呵呵
文盲我还专门google了一下fraction的意思,原来是分数
Dear Santa,
My name is Tina Li. Please can I have a kitchen? If you don't have a kitchen
, you can give me a jewelry box. If you don't have a jewelry box, you can gi
ve whatever things you want to give me. My little sist... 阅读全帖
g*****u
发帖数: 298
47
我又想了一下,这个问题的optimal fractional solution就是按密度从小到大排队,
然后从头选一直选到满足size>=B的条件。最后一个选的可能是fractional的或者正好
。但是这样怎么round to a p-approximate integer solution呢?同样,用primal-
dual方法也不容易得出结论。
如果你知道,能不能写出具体算法和证明,或者出处?
c****j
发帖数: 802
48
来自主题: Programming版 - regex question
a stupid way:
"[1-9]\d*\.\d*|[^.][1-9]\d*[^.]|[0]\.\d*[1-9]\d*"
(fraction begin with 1-9|integer begin with 1-9|fraction begin with0)
a****m
发帖数: 693
49
#include
using namespace std;
class CFraction
{
public: //public method to get GCD
int iNumerator;
int iDenominator;
double dValue;
//constructor...
CFraction( int iNumeratorParam, int iDenominatorParam )
{
iNumerator = iNumeratorParam;
iDenominator = iDenominatorParam;
dValue = iNumerator/ iDenominator;
}
//getGCD
int getGCD( int iNumerator, int iDenominator )
{
int remainder = iDenominator % iNumerator;
if ( remainder != 0 )
return getGCD( remainder,iNumerator );
}
//Reduce (wha... 阅读全帖
首页 上页 1 2 3 4 5 6 7 8 9 10 下页 末页 (共10页)