问答详情
个人中心
登录/注册
首页
竞赛
活动
游学
图书
题库
实习
我的简历 请在PC端打开
求职进度
《用户协议》
《消费者权益保障措施说明》
下载赛氪APP
首页
竞赛
活动
实践+
课程
题库
文章
图书
实习
如果让高德纳(donald knuth)一个人参加 acm 全球总决赛,他能成功对抗其他团队并获得第一名吗?
2015-05-31
浏览 38549
关注
0
阿啊啊
滴里搭拉
假如老爷子突发奇想想玩玩,决定参加acm总决赛,并且单枪上阵。能拿什么名次?
问答发起人
全部回答(1)
用户5377557
2015-05-31
北京大学
哈哈,之前在Quora上刚好看见过这个问题。直接搬运过来了。(原来的问题是HowwouldDonaldKnuthfareasacompetitoronTopCodertoday?)
QuotefromAlanKayaboutKnuth:
WhenIwasatStanfordwiththeAIproject[inthelate1960s]oneofthethingsweusedtodoeveryThanksgivingishaveacomputerprogrammingcontestwithpeopleonresearchprojectsintheBayarea.TheprizeIthinkwasaturkey.
[John]McCarthyusedtomakeuptheproblems.TheoneyearthatKnuthenteredthis,hewonboththefastesttimegettingtheprogramrunningandhealsowonthefastestexecutionofthealgorithm.HediditontheworstsystemwithremotebatchcalledtheWilbursystem.Andhebasicallybeattheshitoutofeveryone.
Andtheyaskedhim,"Howcouldyoupossiblydothis?"Andheanswered,"WhenIlearnedtoprogram,youwereluckyifyougotfiveminuteswiththemachineaday.Ifyouwantedtogettheprogramgoing,itjusthadtobewrittenright.Sopeoplejustlearnedtoprogramlikeitwascarvingstone.Yousortofhavetosidleuptoit.That'showIlearnedtoprogram."
2015-05-31 未知
122
提到的三个貌似都拿了图灵奖。高德纳也没那么老嘛,一副想哥当年……的样子,你们这群年轻人,都被惯坏啦。
2015-06-12 未知
大意是说,这们这群小年轻,TooYoungTooSimple,Native,你们现在环境好,硬件水平高,所以大多数人的代码只能正确运行罢了,想当年,我用的机器太Low了,所以我的程序不仅正确,还是跑得快
2015-06-12 未知
Andhebasicallybeattheshitoutofeveryone.翻译过来就是——不知比你们高到哪里去!答主答案最靠谱,其他人只是臆想罢了,什么被手速狗虐哭,tooyoung,naive!
2015-06-12 未知
翻译一下:
AlanKey谈到这件事:
当我在斯坦福的AI组(60年代末)时,每逢感恩节我们组里都会在湾区搞一次编程竞赛,谁赢了就能获得一只火鸡。
一般由McCarthy来出题。有一年Knuth也参加了竞赛,结果他不仅用最快的时间编出程序,而且程序运行速度也是最快的。然而他却是在最差的一台系统上用一个叫做Wilbur的远程批处理系统搞定了。可以说其它人都被虐出翔。
后来问他,“你是怎么做到的?”,他回答说:当我学编程的时候,每天能上机5分钟就是走了狗屎运了,你要是想让你的程序跑起来,唯一方法就是直接写对。所以那时人们编程的时候就像在雕刻艺术品,你必须谨小慎微才行。这就是我学编程的方法。
2015-06-12 未知
《奇思妙想》里看过这段
2015-06-12 未知
- 查看更多和回答问题请下载赛氪APP -
下载赛氪APP
证书查询
取消
取消
确认
取消
立即打开
同学~下载赛氪APP就可以进群咯~
先不聊
去下载
QuotefromAlanKayaboutKnuth:
WhenIwasatStanfordwiththeAIproject[inthelate1960s]oneofthethingsweusedtodoeveryThanksgivingishaveacomputerprogrammingcontestwithpeopleonresearchprojectsintheBayarea.TheprizeIthinkwasaturkey.
[John]McCarthyusedtomakeuptheproblems.TheoneyearthatKnuthenteredthis,hewonboththefastesttimegettingtheprogramrunningandhealsowonthefastestexecutionofthealgorithm.HediditontheworstsystemwithremotebatchcalledtheWilbursystem.Andhebasicallybeattheshitoutofeveryone.
Andtheyaskedhim,"Howcouldyoupossiblydothis?"Andheanswered,"WhenIlearnedtoprogram,youwereluckyifyougotfiveminuteswiththemachineaday.Ifyouwantedtogettheprogramgoing,itjusthadtobewrittenright.Sopeoplejustlearnedtoprogramlikeitwascarvingstone.Yousortofhavetosidleuptoit.That'showIlearnedtoprogram." 2015-05-31 未知