d**********o 发帖数: 1321 | 1 hw3 & hw3b 最终结果
贴一个自己 hw3b 的 match 结果让小伙伴们感受一下我们作业需要的结果是什么样子
的。
如果是同专业的小伙伴,最后拷贝到编辑器中仔细看一下,这个网页因为宽度有限,让
并排两列的比较呈现出来的很变形。
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
makefile
scanType.h
symtab.h
symtab.c
20131116163236-(me~~)-CS445-F13-A3B.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
... 阅读全帖 |
|
d**********o 发帖数: 1321 | 2 hw3 & hw3b 最终结果
贴一个自己 hw3b 的 match 结果让小伙伴们感受一下我们作业需要的结果是什么样子
的。
如果是同专业的小伙伴,最后拷贝到编辑器中仔细看一下,这个网页因为宽度有限,让
并排两列的比较呈现出来的很变形。
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
makefile
scanType.h
symtab.h
symtab.c
20131123233236-(me~~)-CS445-F13-A3B.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
... 阅读全帖 |
|
d**********o 发帖数: 1321 | 3 hw3b deadline前版本
这里我也先公开承认一下自己早前犯过的错误,在这个楼的第 14 页、第 265 楼,我
有贴出自己的hw3b,但现在我必须向亲爱的读者一一您公开道歉。因为当时因为着急,
我没能找到hw3b deadline前的版本,就把这次作业后来的最终版本(也就是那个楼贴
出来的,只剩下ReturnK、CompoundK两条小尾巴的版本,那个版本被我改动了时间戳我
现在已经把它改回来了。相比于急于求成绩,我更希望自己作一个诚实的人,希望大家
能原谅)给贴出来了。因为我们作业deadline之后也还都是可以接着交的,所以任何作
业,老师都是可以根据后来的版本,追终到这个学生的最后进展的,这个最新进展老师
到底给不给分、就要看老师如何下决定了。
deadline前的版本,被我附在下面了。
当然,把自己的这个版本更新后,我愿为这个楼(这一次出来写的所有)属于自己的每
个贴子负责,所有写出来的,都是真实发生过的事。
=================================================
Output of Building User Code
Ex... 阅读全帖 |
|
d**********o 发帖数: 1321 | 4 hw3b deadline前版本
这里我也先公开承认一下自己早前犯过的错误,在这个楼的第 14 页、第 265 楼,我
有贴出自己的hw3b,但现在我必须向亲爱的读者一一您公开道歉。因为当时因为着急,
我没能找到hw3b deadline前的版本,就把这次作业后来的最终版本(也就是那个楼贴
出来的,只剩下ReturnK、CompoundK两条小尾巴的版本,那个版本被我改动了时间戳我
现在已经把它改回来了。相比于急于求成绩,我更希望自己作一个诚实的人,希望大家
能原谅)给贴出来了。因为我们作业deadline之后也还都是可以接着交的,所以任何作
业,老师都是可以根据后来的版本,追终到这个学生的最后进展的,这个最新进展老师
到底给不给分、就要看老师如何下决定了。
deadline前的版本,被我附在下面了。
当然,把自己的这个版本更新后,我愿为这个楼(这一次出来写的所有)属于自己的每
个贴子负责,所有写出来的,都是真实发生过的事。
=================================================
Output of Building User Code
Ex... 阅读全帖 |
|
d**********o 发帖数: 1321 | 5 最终版本的compiler测试结果
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
scanType.h
makefile
symtab.h
symtab.cpp
emitCode.h
emitCode.cpp
20131214164956-huang-CS445-F13-A5.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
emitCode.cpp: ASCII C++ program text
emitCode.h: ... 阅读全帖 |
|
d**********o 发帖数: 1321 | 6 最终版本的compiler测试结果
=================================================
Output of Building User Code
Explode the tar
c-.l
c-.y
scanType.h
makefile
symtab.h
symtab.cpp
emitCode.h
emitCode.cpp
20131214164956-huang-CS445-F13-A5.tar: POSIX tar archive (GNU)
Tests: directory
c-.l: lex description text
c-.y: lex description text
emitCode.cpp: ASCII C++ program text
emitCode.h: ... 阅读全帖 |
|
|
|
|
|
|
|
|
|
|
f*****r 发帖数: 76 | 16 A Herndon townhouse is ready for immediate move-in.
Located in a quiet and safe community, this vacant and unfinished
townhouse just has been renovated to have new carpet, new paint and new
kitchen appliances.
This 3 levels, 4 bed room, 3.5 bath, 1800 sqft house sits next to trail,
within walk distance to park and golf course, is convenient of connecting
to Herndon town center, Reston and Sterling, VA, mere minutes of driving
to Dullas Toll Road, and Route 28.
Asking for $1690/Month. Please retu |
|
m*********t 发帖数: 1250 | 17 我算是Bogleheads的投资理念拥护者之一,个人理解是买index是基于成熟的市场环境下
以机构投资者为主导高效率市场的投资策略,大部分投资人基于长期投资的规划可以满
足基于此的Market Average Return。而相反的极端例子可能就是国内的A股市场,以散
户主导,信息不透明,追涨杀跌短期投机行为为主,所以可能并不适合index策略。
基于上面的理解,我个人觉得在以Index investing为主的策略下,追求短期high retu
rn为目标适当配置一部分Active Fund (如一些Dividend Growth)或如P2P之类的新As
set Class,也并不冲突。
mutual |
|
j**l 发帖数: 2911 | 18 书中一个寻找链表倒数第m个元素的例子代码有误,这也恰恰是我们容易在书写白板代
码时候犯的错误,难免给面试官留下粗心的第一印象。
规定,如果m = 0, 则返回最后一个元素(下标从0开始,也可以定义m = 1返回最后一
个元素)
Element *findMToLastElement(Element *head, int m)
{
Element *current, *mBehind;
int i;
current = head;
for (i = 0; i < m; i++)
{
if (current->next)
current = current->next;
else
return NULL;
}
mBehind = head;
while (current->next)
{
current = current->next;
mBehind = mBehind->next;
}
retu |
|
C****i 发帖数: 1776 | 19 PayPal is constantly working to ensure security by regularly screening the a
ccounts in our system. We recently reviewed your account, and we need more i
nformation to help us provide you with secure service. We would like to retu
rn your account to regular standing as soon as possible. We apologize for th
e inconvenience.
Jun 6, 2012: We need some personal information about you or your PayPal acco
unt.
(Your case ID for this reason is PP-001-812-732-662.)
Steps to Provide More Information
Date ... 阅读全帖 |
|
|
p**********u 发帖数: 1467 | 21 今天过节呢.但是看来又不像:
Portland police are building a case against a woman accused of using fake
coupons to rack up thousands of dollars in stolen items.
Officers arrested Nancy Yun late Friday night on suspicion of stealing a
vacuum cleaner, but police said the incident was only a portion of the
crimes she is alleged to have committed.
Officer Barbara Glass said Yun printed hundreds of fake coupons for stores
such as Kohl's and Safeway. Yun then used the coupons when purchasing items
and sometimes retu |
|
a******9 发帖数: 47 | 22 Good post. I am in a similar senario but a little bit different.
I sold some stock shares at 2009 as part of ESPP (employee stock purchase
plan). Since I was certified as W-8 BEN at 2009, the broker only sent me the
1042-S from instead of 1099-B form, which only covers the divident. I have
been filling as resident alien since 2008, and switched to W-9 certified at
Mar.2010 when broker notified me my previous W-8 is expired at 12/31/2009.
Is it ok to exclude the stock gain out of my 2009 Tax Retu |
|
P********6 发帖数: 709 | 23 【 以下文字转载自 Living 讨论区 】
发信人: Portfolio6 ($)^^大虫晚成^^(, 信区: Living
标 题: 我决定现在file州税return, 等房子close了之后再发联邦税的return
发信站: BBS 未名空间站 (Thu Apr 1 16:19:56 2010, 美东)
反正州税不涉及8000 tax credit. |
|
|
|
i******s 发帖数: 8734 | 26 google 了一下
http://www.ehow.com/how_4996018_calculate-effective-tax-rate.ht
1.
Calculate your pretax cash income. This includes everything you report on fo
r tax purposes. Examples include wages, rents received, capital gains recogn
ized, and taxable and non-taxable interest. Also, include employer contribut
ions made on your behalf such as employment taxes paid and contributions mad
e to retirement plans. Request a complete listing of all personal benefits a
nd taxes paid by the employer for you... 阅读全帖 |
|
|
m*********r 发帖数: 4692 | 28 The Cardinals' website confirms that Beanie Wells "is OK," and could've retu
rned to Thursday night's preseason finale had it been meaningful |
|
H****t 发帖数: 2542 | 29 good! 不过这厮相当玻璃,不知道哪周就out for the season了。
想想还是发哥够man,从1993年首发到现在,一场不拉。
retu |
|
p***r 发帖数: 4606 | 30 vikings和colts这两场,同时FG拿3分,然后几乎同一时间搞了INT,差别是colts直接retu
rn TD,而vikings的没有,呵呵 |
|
w******d 发帖数: 393 | 31 http://boston.cbslocal.com/2012/10/04/hernandez-gronkowski-retu
BOSTON (CBS) – The New England Patriots had their two dynamic tight ends
back at practice on Thursday.
Aaron Hernandez returned to the practice field, the first time he’s
practiced since suffering an ankle injury against the Arizona Cardinals in
Week 2.
Hernandez was expected to miss up to six weeks when he limped off the field
back on September 16. He was not at full speed, but practiced running routes
in several drills as the team... 阅读全帖 |
|
m*********3 发帖数: 5381 | 32 【 以下文字转载自 Running 讨论区 】
发信人: smilewords (smile), 信区: Running
标 题: Study says too much running could be bad for your health
发信站: BBS 未名空间站 (Tue Sep 11 13:16:00 2012, 美东)
http://www.kare11.com/news/health/article/978431/20/Too-much-ru
MINNEAPOLIS - Plenty of people take up marathon running to stay in shape.
But a new study finds, in some cases, too much running could be bad for your
health.
Alyssa Downing of Minneapolis was running around Lake Calhoun on Tuesday
because she said, "I have a half m... 阅读全帖 |
|
s********s 发帖数: 63 | 33 http://www.kare11.com/news/health/article/978431/20/Too-much-ru
MINNEAPOLIS - Plenty of people take up marathon running to stay in shape.
But a new study finds, in some cases, too much running could be bad for your
health.
Alyssa Downing of Minneapolis was running around Lake Calhoun on Tuesday
because she said, "I have a half marathon on the books in Chicago so I'm
getting in a last couple of training runs."
But now experts say you may want to stop after just one or two marathons
because a new ... 阅读全帖 |
|
f*****g 发帖数: 15860 | 34 well said!
it's all about read, stack size, and image.
a lot of new players play too straight forward, and fear to bet for
information. so they tend to play an "easy and friendly" game, where
everyone just plays in "reasonable" ways (reasonable here is more like
playing like your own style), no trick, small little bluff, ppl always win
with nuts or nice hands...
poker is a game of incomplete information, but still there're pieces of
information can be put together, then weighed against risk/retu |
|
F*******e 发帖数: 485 | 35 豆瓣上的
此片的评论常常分为两派,一派主张用时空重叠的理论想要理清现实逻辑,一派主
张Jess的鬼魂在车祸后进行了一场幻境之旅。其实这两种解释并非互相矛盾的,即使是
幻境也是一个完整的程序也是遵循严密的内在逻辑的。
【1】关于官方解释
那么究竟有没有一个比较权威的解答?是有的,那就是Jess的确一开始就死于车祸
。
请参考这段对Christopher Smith(导演兼编剧)的采访视频:
http://www.youtube.com/watch?v=CMcHN4_bJBo
导演谈到此片是“that kind of wearied psychological story”(导演还提到他
是Memento的超级粉丝,可见此片强调心理分析),当问到他最初的概念是来自何处时,
导演说想拍一部关于:“what would it be like if you go to work and find yours
elf...already dead”的电影(如果有一天你照常去工作却发现你其实早就死了),后
来在他构筑剧本时又加入了越来越多的元素,让整个故事变得非常复杂一环套一环,但
是整体基调是不变... 阅读全帖 |
|
|
f****r 发帖数: 311 | 37 【 以下文字转载自 Dreamer 讨论区 】
【 原文由 Dreamer 所发表 】
Enigma, Return To Innocence
Don't be afraid to be weak
Don't be too proud to be strong
Just look into your heart my friend
That will be the return to yourself
The return to innocence.
If you want, then start to laugh
If you must, then start to cry
Be yourself don't hide
Just believe in destiny.
Don't care what people say
Just follow your own way
Don't give up and use the chance
To return to innocence.
That's not the beginning of the end
That's the retu |
|
R*o 发帖数: 3781 | 38 来自主题: TrustInJesus版 - 我的信仰 this post partly explains the belief of Millennial Kingdom. Jesus will retu
rn and set up an example to all the human being. By this time, ppl like you
and me can surely make a wise choice. |
|
R*o 发帖数: 3781 | 39 By Pastor Kelly Sensenig
The postmillennial view of the Millennial Kingdom was all but extinct but in
the last 35 to 40 years there has been a resurgence in this concept and vie
w of the Millennial Kingdom. This system of millennial thought was developed
in the 16th century. The view holds that conditions on earth will gradually
improve over time evolving into a world that has become "Christianized" and
ready for the Second Coming of Christ to start eternity. The prefix "post"
before Millennium ... 阅读全帖 |
|
R*o 发帖数: 3781 | 40 Servetus: The Arch Heretic
Born Miguel Serveto in Villanova in 1511, the man known to the world as Mich
ael Servetus "discovered the pulmonary circulation of the blood - the passag
e of the blood from the right chamber of the heart along the pulmonary arter
y to and through the lungs, its purification there by aeration, and its retu
rn via the pulmonary vein to the left chamber of the heart." He was in some
ways "a bit more insane than the average of his time," announcing the end of
the world in... 阅读全帖 |
|
R*o 发帖数: 3781 | 41 加尔文早在塞尔维特来日内瓦前,就在在信中写明了,他不会让塞尔维特在自己手中活
着离开
后来塞尔维特来到日内瓦,加尔文就让人逮捕了他,并指控他
当时加尔文在日内瓦刚失去权力,加尔文本可以回避对塞尔维特的审判,但加尔文积极
配合了对塞尔维特的指控
塞尔维特并非日内瓦公民,本不应该在日内瓦受死,日内瓦当局可以驱逐塞尔维特出城
。
事实上,通过对塞尔维特的指控及极刑,加尔文恢复了自己的威望,挽回了自己在日内
瓦的权力
在塞尔维特被文火烧了半个小时而死之后,加尔文多次公开表示对这一极端恐怖行为的
支持与赞美
从头至尾,加尔文都为处死塞尔维特积极策划和辩护
Mich
passag
arter
retu
some
of
bot
r |
|
C****i 发帖数: 1776 | 42 CHAPTER XXXII
Of the State of Men after Death, and of the Resurrection of the Dead
I. The bodies of men, after death, return to dust, and see corruption:[566]
but their souls, which neither die nor sleep, having an immortal subsistence
, immediately return to God who gave them:[567] the souls of the righteous,
being then made perfect in holiness, are received into the highest heavens,
where they behold the face of God, in light and glory, waiting for the full
redemption of their bodies.[568] And... 阅读全帖 |
|
t******g 发帖数: 17520 | 43 禅修前行
我现在解说如何修习禅定。开始前,跪下来,双手合十置于心前,虔诚礼敬三
宝,口诵下文:
Arahaṃ sammā-sambuddho bhagavā:
Buddhaṃ bhagavantṃ abhivādemi
薄伽梵[7]是阿罗汉、正自觉者:
我顶礼佛陀、薄伽梵。(一拜)
Svākkhāto bhagavatā dhammo:
Dhammaṃ namassāmi.
法由薄伽梵善说:
我崇敬法。(一拜)
Supaṭipanno bhagavato sāvaka-saṅgho:
Saṅghaṃ namāmi.
薄伽梵的僧伽弟子行道正善:
我礼敬僧伽。(一拜)
以你的意、语、行表达对佛陀的敬意:
Namo tassa bhagavato arahato sammā-sambuddhasa.
礼敬薄伽梵、阿罗汉、正自觉者。 (三遍)
归依三宝:
Buddhaṃ saranaṃ gacchāmi.
Dhammă... 阅读全帖 |
|
h*****d 发帖数: 788 | 44 一封email:挺有意思
An announcement to all hard-working grad students:
TGIF! (Thank Goodness It's Friday!)
Just wanted to remind you all that a week from today is July 4 --
American Independence Day. The University will be closed, so there will
be no classes and all the offices will be closed. Take some time off to
see the parade downtown, the activities in the evening in the center of
town, and the fireworks at night. (Be safe over the Fourth and use only
legal fireworks. We don't want anyone retu |
|
x***o 发帖数: 135 | 45 【 以下文字转载自 JobHunting 讨论区 】
发信人: xltao (iii), 信区: JobHunting
标 题: two c++ interview questions!
发信站: BBS 未名空间站 (Wed Sep 19 15:09:11 2007)
#include
using namespace std;
class A
{
protected:
int nValue;
public:
A( int n ) : nValue( n )
{
nValue++;
}
};
class B : public A
{
public:
B( int n ) : A( n * 10 )
{
this->nValue += 50;
}
void Output()
{
cout << nValue << endl;
}
};
int main()
{
B b( 10 );
b.Output();
retu |
|
m********9 发帖数: 116 | 46 An analyst determined the flowing cash flows for a capital project:
Year 0 1 2 3 4
Cash flow -100 30 40 40 30
The required rate of return of the project is 13%. The internal rate of retu
rn (IRR) and the discounted payback period for the project, respectively, ar
e closest to:
IRR Discounted payback period
A 14.85% 2.75
B 14.85% 3.78
C 19.25% 2.75
D 19.25% 3.78
Answer is D. I have calculated 3.78, but cann |
|
m********9 发帖数: 116 | 47 这道题知道啦,还有第五年的cash flow,做出来了!
retu
ar |
|
B*********h 发帖数: 800 | 48 ☆─────────────────────────────────────☆
eeguy (lostsheep) 于 (Thu Mar 8 03:45:24 2007) 提到:
So-called “act-of-god bonds” help provide reinsurance against natural
disasters of magnitude greater than $1 billion for a specified set of
insurance companies in a given
region for a given hazard (e.g., hurricanes in Florida). Consider an
investor who has the option to invest
her given wealth w in act-of-god bonds which provide a 30% return if no
disaster occurs in the next
12 months, and a -30% retu |
|
r*******t 发帖数: 8550 | 49 Responsibilities
Coordinate and lead issuer and originator due diligence.
Prepare risk rating rationales for deals via extensive cash-flow modeling.
Develop written materials in support of investment recommendations.
Develop and apply financial models to assess risk and return.
Take an active role in group discussions and provide recommendations with
respect to the purchase or sale of individual securities; independently
identify and recommend investment opportunities that improve portfolio
retu |
|
B*D 发帖数: 5016 | 50 http://goo.gl/TXhT6E
New Yorker的专栏
HOW DO HEDGE FUNDS GET AWAY WITH IT? EIGHT THEORIES
The other day, I asked how hedge funds manage to bestow such great riches on
their managers despite the fact that, in many cases, their performance seem
s pretty ordinary. That got quite a reaction. The responses ranged from clai
ms that hedgies are remunerated perfectly appropriately to charges that they
are outright crooks who prey on gullible and greedy investors. Because the
industry has grown enormously i... 阅读全帖 |
|