谷歌“顶级编码员”比赛=对抗C ++编码员 [英] google "top coder" contest = stacked against C++ coders

查看:88
本文介绍了谷歌“顶级编码员”比赛=对抗C ++编码员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近尝试过Google顶级编码器比赛,作为一个C ++

编码器。我立刻注意到他们希望我知道STL。

我说的,他妈的是什么?!


我可能会遗漏一些东西,但是在什么地方学习C ++时的意义

我应该选择STL吗?我问,因为我已经有了每一份工作,而且每次面试都是这样,每当

STL出现时,不是我,而是经理谁有效地说了?
yuck,我们不会使用那个废话。


我说的很好,我从来没有学过废话。


并非我没有尝试过使用它。任何

newbie-to-STL必然得到的错误消息是100多行。真的很有用!


谷歌显然已经将他们的竞赛对抗C ++程序员,

这意味着它不是关于顶级编码员的。毕竟。

解决方案

STL是标准C ++语言的一部分吗?那是'C ++的一部分

不是吗?因此,如果某种类型的考试包含一系列关于C ++编程的问题,那么它将会有与语言有关的问题

对吗?


STL是在任何关于C ++编程的大学入门课程中讲授的。

这些天拿起一本介绍性的C ++书籍,你将很难找到
找到一个没有细节。它大大简化了

语言中的某些内容,但对于一些初学者来说可能很复杂。我宁愿使用STL编写应用程序

和库,而不是重新实现它已经提供的很多

代码。理解基础知识并不难。


有很多公司程序员使用STL,只是因为你没有工作的b $ b一个并不代表他们不存在 - 对吗? = :-)


问候,


M


ziliath写道:< blockquote class =post_quotes>我最近尝试过Google顶级编码器比赛,作为C ++编码器。我立刻注意到他们希望我知道STL。
我说的是什么,他妈的?!

我可能会遗漏一些东西,但在学习C ++的时候是什么时候
我应该选择STL吗?我问,因为在我的每一份工作中,以及每次面试的时候,无论何时STL出现,都不是我,而是一位经理有效地说好了。我们不会用那些废话。

我说的很好,我从来没有学过废话。

并不是说我没有尝试过它。任何
newbie-to-STL必然会得到的错误消息是100多行。真的很有用!

谷歌显然已经将他们的竞赛对抗C ++程序员,这意味着它不是关于顶级编码员的。毕竟。




任何语言中包含的标准库与

语言本身一样有价值。你可以说C库在技术上不是C语言的一部分,所以你不需要学习所有的printf东西,但是你只需要
愚弄自己。


我已经学会了喜欢STL,偶尔也会使用它,当

适当的机会出现时。但是如果你从来没有学过它,你就不会知道什么时候它会派上用场!




ziliath <滋***** @ myway.com>在消息中写道

news:6b ************************** @ posting.google.c om ...


[snip]




大多数C ++程序员都知道STL。这场比赛不是针对C ++

程序员(正如你的误导性标题所说),而是对任何程序员来说,

不知道他们的语言系统库的基础知识将是

使用。


可能的原因是您不允许包含任何

非标准标题。你应该感到惊讶吗?使用非标准标题,

你可以获得别人没有的优势。为了防止这种情况,他们将b $ b平衡了比赛场地。你可以在没有STL的情况下试一试,但祝你好运,实际上做了很多工作。您是如何从用户那里获得输入

的?


James


I recently tried out the Google "top coder" contest, as a C++
coder. I noticed immediately that they expected me to know STL.
To which I say, what the fuck?!

I may be missing something, but at what point when learning C++
was I supposed to have picked up STL? I ask because at every
job I''ve had, and every job interview for that matter, whenever
STL comes up it''s not I, but a manager who says effectively
yuck, we don''t use that crap.

To which I say good, I never learned that crap.

Not that I haven''t tried using it. The error messages that any
newbie-to-STL is bound to get were 100+ lines long. Really useful!

Google clearly has stacked their contest against C++ programmers,
which means that it is not about "top coders" after all.

解决方案

The STL is part of the standard C++ language right? Then that''s part of C++
isn''t it? So, if an exam of some type contains a series of questions
regarding C++ programming it will have questions relating to the language
right?

The STL is taught at any introductory university course on C++ programming.
Pickup an introductory C++ book these days and you''ll be hard pressed to
find one without details of it. It greatly simpilfies certain things in the
language, but can be complex to some beginners. I''d rather be coding apps
and libraries using the STL rather than reimplementing a hell of a lot of
code that it already offers. It''s not difficult to understand the basics.

There are many companies where programmers use the STL, just because you
haven''t worked in one doesn''t mean that they don''t exist - right? =:-)

Regards,

M


ziliath wrote:

I recently tried out the Google "top coder" contest, as a C++
coder. I noticed immediately that they expected me to know STL.
To which I say, what the fuck?!

I may be missing something, but at what point when learning C++
was I supposed to have picked up STL? I ask because at every
job I''ve had, and every job interview for that matter, whenever
STL comes up it''s not I, but a manager who says effectively
yuck, we don''t use that crap.

To which I say good, I never learned that crap.

Not that I haven''t tried using it. The error messages that any
newbie-to-STL is bound to get were 100+ lines long. Really useful!

Google clearly has stacked their contest against C++ programmers,
which means that it is not about "top coders" after all.



The standard library included with any language is as valuable as the
language itself. You can say that the C library is not technically part
of the C language, so you needn''t learn all that printf stuff, but you''d
just be fooling yourself.

I''ve learned to love the STL, and I use it occasionally, when the
appropriate opportunity arises. But if you never learn it, you''d never
know when it''ll come in handy!



"ziliath" <zi*****@myway.com> wrote in message
news:6b**************************@posting.google.c om...


[snip]



Most C++ programmers know the STL. The contest is not stacked against C++
programmers (as your misleading title says), but against any programmer that
does not know the basics of the system library of the language they will be
using.

The probable reason for this is that you are not allowed to include any
nonstandard headers. Should you be surprised? With non-standard headers,
you can gain an advantage that others don''t have. To prevent this, they
level the playing field. You can try it without the STL, but good luck on
actually doing anything productive. How are you even going to get input
from the user?

James


这篇关于谷歌“顶级编码员”比赛=对抗C ++编码员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆