Skip to main content
31 events
when toggle format what by license comment
Jun 2, 2022 at 23:28 answer added David Ljung Madison Stellar timeline score: 0
Jun 2, 2022 at 23:11 comment added David Ljung Madison Stellar This testcase "swallow chew swallow chew swallow vomit complain playwithfood -> 11" is wrong, the output is 110 because it does the vomit/complain/play loop as it walks back through 1s until 0, but it still does the vomit/complain/play on the 0 value and vomits that one as well.
May 2, 2016 at 3:28 vote accept Mason Watmough
May 2, 2016 at 3:28 vote accept Mason Watmough
May 2, 2016 at 3:28
Apr 21, 2016 at 9:32 history tweeted twitter.com/StackCodeGolf/status/723082073200857088
Apr 3, 2016 at 23:33 answer added ZXDunny timeline score: 1
Apr 3, 2016 at 17:58 history reopened CalculatorFeline
Victor Stafusa
wizzwizz4
a spaghetto
Zach Gates
Apr 3, 2016 at 6:38 review Reopen votes
Apr 3, 2016 at 17:58
Apr 3, 2016 at 6:20 history edited Mason Watmough CC BY-SA 3.0
Clarified initial state of bit array
Apr 2, 2016 at 15:01 comment added CalculatorFeline Is this reopenable now?
Apr 2, 2016 at 13:10 history edited CalculatorFeline CC BY-SA 3.0
added 8 characters in body
Apr 2, 2016 at 13:10 comment added CalculatorFeline Oops, please swallow once before running that program. But undefinedbehavior should not be in a testcase.
Apr 2, 2016 at 3:55 comment added Victor Stafusa @CatsAreFluffy I think that chew swallow chew swallow vomit complain playwithfood is an infinite loop, because playwithfood would go back two instructions to vomit. And this would loop the sequence vomit complain playwithfood forever. The vomit instruction will keep decrementing the bit index forever, but it would be kept resetted to zero everytime that it tries to go to -1 (which is outside the bounds of the array). My interpreter loops forever on that keeping outputting 1s continuously forever.
Apr 2, 2016 at 3:44 history edited Victor Stafusa CC BY-SA 3.0
More test cases
Apr 2, 2016 at 2:44 review Reopen votes
Apr 2, 2016 at 4:07
Apr 2, 2016 at 2:27 comment added CalculatorFeline A few test cases and some specification.
Apr 2, 2016 at 2:27 history edited CalculatorFeline CC BY-SA 3.0
spec attempt
Apr 2, 2016 at 1:59 comment added Victor Stafusa @CatsAreFluffy Probably because it is underspecified, which is sad but true. It doesn't says for example, what would happen if it branches to outside the instruction array (something that we both exploited for halting) nor it specified what would happen if an invalid instruction is given (a hole that both your answer and my new answer exploits for golfing). Also, it lacks test cases, which are very important to give confindence against possibly buggy interpreters.
Apr 2, 2016 at 1:42 comment added CalculatorFeline Why is this closed?
Apr 2, 2016 at 1:28 history closed Denker
flawr
Hannes Karppila
Zach Gates
cat
Needs details or clarity
Apr 2, 2016 at 1:08 comment added Victor Stafusa You should specify what happens if unknown instructions are provided. My answer quits the program when they are found. CatsAreFluffy's answer may execute arbitrary existing instructions or just quit the program.
Apr 2, 2016 at 0:56 answer added CalculatorFeline timeline score: 3
Apr 2, 2016 at 0:52 answer added Victor Stafusa timeline score: 0
Apr 2, 2016 at 0:13 comment added DJMcMayhem @AlexA. Mmmm. Fried in coconut oil with garlic, a bit of ginger, and a dash of Tabasco.
Apr 1, 2016 at 23:08 review Close votes
Apr 2, 2016 at 1:31
Apr 1, 2016 at 22:48 comment added Denker Also you should really add some testscases, since this is not a very trivial task to solve and it's hard to say if a potential solution works correctly. But please note that testcases are not a replacement for a clear specification of the I/O formats which is definitely missing here.
Apr 1, 2016 at 22:46 comment added Denker Hey Mason! It is nice that you want to contribute to this site, but writing a good challenge is not easy and also requires some experience. 2 of your 3 challenges got closed so far and this one might be put on hold for being unclear as well. I would really recommend that you use the sandbox in the future, so you can get feedback and work potential flaws out before you post your challenge to the main site. However, I hope you stick around and have a great time here!
Apr 1, 2016 at 22:45 comment added Alex A. If those are the only options for interacting with Brussels sprouts, clearly you haven't had them roasted with olive oil, salt, and pepper.
Apr 1, 2016 at 22:42 comment added Riker And do all the bits start at 0 or 1?
Apr 1, 2016 at 22:40 comment added Riker How do we get the input? Can we take it as a list?
Apr 1, 2016 at 22:34 history asked Mason Watmough CC BY-SA 3.0