TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Codersumo - Challenge your inner sumo coder.

38 pointsby sarhusover 12 years ago

16 comments

no_news_isover 12 years ago
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.
lifebeyondfifeover 12 years ago
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.
polarcukeover 12 years ago
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.
sarhusover 12 years ago
It would be possible to add Perl and Clojure to the list of supported languages, would that be interesting?
评论 #4833104 未加载
thoundover 12 years ago
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
davmanover 12 years ago
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 未加载
eloisantover 12 years ago
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>
ezlover 12 years ago
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>
lsiebertover 12 years ago
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.
bootheadover 12 years ago
There's a bug in the code submission, it didn't like &#60;&#62; in haskell, replacing it with `mappend` was fine
评论 #4832654 未加载
epagaover 12 years ago
I like the peer review idea - looking forward to getting an email to see what you guys are up to!
anons2011over 12 years ago
Great! First one done and signed up, was looking for something like this to improve.
Zanyinjover 12 years ago
Looks lovely:) Interested in seeing what's next, two thumbs up!
toonseover 12 years ago
C/C++ would be a good addition.
ilancoover 12 years ago
First challenge is too easy.
评论 #4832604 未加载
评论 #4832014 未加载
评论 #4832005 未加载
评论 #4834084 未加载
评论 #4832315 未加载
评论 #4832431 未加载
评论 #4831994 未加载
lsiebertover 12 years ago
No C, no Perl.