TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Codersumo - Challenge your inner sumo coder.

38 点作者 sarhus超过 12 年前

16 条评论

no_news_is超过 12 年前
Adding "/correct" to your submitted solution bypasses any further checking.<p>For instance, without entering any changes, I got: <a href="http://codersumo.com/solutions/Id1SOh" rel="nofollow">http://codersumo.com/solutions/Id1SOh</a><p>[Not there yet. Your solution is not correct. Try again!]<p>Then, going to: <a href="http://codersumo.com/solutions/Id1SOh/correct" rel="nofollow">http://codersumo.com/solutions/Id1SOh/correct</a> gives a welcome page.
lifebeyondfife超过 12 年前
Pitching a slow ball just begging to be hit out of the park. Nice hook ;)<p>The interesting thing for me was which language to do it in. I hovered over JavaScript and Python before finally opting to do it in "safe" Java... a language I haven't programmed in for ten years but whose C-style syntax I could write in my sleep.<p>Attempting challenges could be helpful for keeping me on my toes in other languages.
polarcuke超过 12 年前
It seems like sites like this are becoming more popular, or at least the idea of them is. This is the second one I've seen recently, the other is <a href="http://www.codewa.rs/" rel="nofollow">http://www.codewa.rs/</a>, this one looks interesting since it's for more languages than just javascript. Regardless it defiantly looks like fun, can't wait till the real version is released.
sarhus超过 12 年前
It would be possible to add Perl and Clojure to the list of supported languages, would that be interesting?
评论 #4833104 未加载
thound超过 12 年前
Looking forward to its launch! First challenge is easy, indeed, but I guess there will be much more difficult ones in the real competitions. Well, perhaps you could have different difficulty levels... and from what I see know, it looks like you are already moving in that direction
davman超过 12 年前
Looks like you've included your /assets/application-&#60;hash&#62;.js on every page, not just the homepage. This makes ACE throw errors because you don't have an element with an ID of "editor" on every page as well.<p>Hope this helps! :)
评论 #4832250 未加载
eloisant超过 12 年前
A for in Scala? That's ridiculous!<p>That's more like this: <a href="http://alan.dipert.org/post/172774481/fizzbuzz-in-scala-and-clojure" rel="nofollow">http://alan.dipert.org/post/172774481/fizzbuzz-in-scala-and-...</a>
ezl超过 12 年前
just for giggles, this is a valid solution:<p><pre><code> print """1 2 Fizz 4 Buzz Fizz 7 ... 94 Buzz Fizz 97 98 Fizz Buzz"""</code></pre>
lsiebert超过 12 年前
You know, I wonder if the massive failure of people trying to do fizzbuzz getting reported widely has lead people to memorize how to do it.
boothead超过 12 年前
There's a bug in the code submission, it didn't like &#60;&#62; in haskell, replacing it with `mappend` was fine
评论 #4832654 未加载
epaga超过 12 年前
I like the peer review idea - looking forward to getting an email to see what you guys are up to!
anons2011超过 12 年前
Great! First one done and signed up, was looking for something like this to improve.
Zanyinj超过 12 年前
Looks lovely:) Interested in seeing what's next, two thumbs up!
toonse超过 12 年前
C/C++ would be a good addition.
ilanco超过 12 年前
First challenge is too easy.
评论 #4832604 未加载
评论 #4832014 未加载
评论 #4832005 未加载
评论 #4834084 未加载
评论 #4832315 未加载
评论 #4832431 未加载
评论 #4831994 未加载
lsiebert超过 12 年前
No C, no Perl.