Skip to main content
11 events
when toggle format what by license comment
Feb 23, 2017 at 22:28 history edited Riker
edited tags
Mar 11, 2015 at 12:40 comment added Mawg @encoree1337 "in C there can be no return statement, and then program will use result of last operation" - I think you are pushing it a bit there. Can you point to that being specified anywhere? As opposed to the result of last operation just coincidentally being left in the accumulator, which is where the return value would be on x86 (but not necessarily on other architectures)? en.wikipedia.org/wiki/X86_calling_conventions
Mar 10, 2015 at 22:48 answer added Alex Celeste timeline score: 8
Feb 1, 2015 at 18:51 answer added feersum timeline score: 2
Feb 1, 2015 at 17:38 history tweeted twitter.com/#!/StackCodeGolf/status/561941634833993728
Feb 1, 2015 at 11:55 comment added encoree1337 @feersum it's from spoj challenges, code has to pass test - it has to return 0 or it does not pass it because of error, n can be <1,1001>, it can print answers with spaces, or new lines, it does not matter, judge checks numbers, i can even write 100x ' ' between each result
Feb 1, 2015 at 10:06 comment added feersum It would help to know some things: Can n be 0? Does extra whitespace invalidate the answer?
Feb 1, 2015 at 9:49 comment added feersum Which code-golfing contest requires that main return 0?
Feb 1, 2015 at 9:04 history edited ProgramFOX CC BY-SA 3.0
Improved formatting
Feb 1, 2015 at 8:56 review First posts
Feb 1, 2015 at 12:37
Feb 1, 2015 at 8:55 history asked encoree1337 CC BY-SA 3.0