News for hackers. Stuff that matters.
Re:Pastebin which is able to run your code. Accepts 40 langu... by gacek on Thursday November 19, 2009 @12:00PM (#950564)
It won't compile ;) (no stdlib.h/string.h)

And it won't crash the server (at least... should not). There is a fixed limit on how much memory a process can allocate. This program will crash, but not because of malloc, just because the recursion gets too deep (stack overflow).

Re:Pastebin which is able to run your code. Accepts 40 langu... by onewland on Thursday November 19, 2009 @01:06PM (#950699)
Maybe it won't compile, but:

  /spoj/c_run: line 5:  3844 Segmentation fault      ./prog
is the error I got, and that doesn't look like a compile error. (Also, just to be pedantic, I had noted the stack overflow possibility in my original post).

http://ideone.com/view/09u9091w9h# is the snippet.