Skip to main content

Timeline for More cowbell...!

Current License: CC BY-SA 3.0

40 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Jan 31, 2017 at 19:41 comment added Albert Renshaw @axiac C isn't my native language so I don't know much about how variables are declared, that may very well work but it's the same bytes either way
Jan 31, 2017 at 12:14 comment added axiac Why char*s? Shouldn't it be char s?
Jan 31, 2017 at 0:50 history edited Albert Renshaw CC BY-SA 3.0
deleted 187 characters in body
Jan 30, 2017 at 22:52 comment added Albert Renshaw @FelixDombek thanks for pointing it out too! It is def. undefined behavior, I just simulated it (looped) on many IDEs and it seems to always init the int as 0. I probably could leave it after all, though my logic was designed to have them all set at 1; the fact that the test cases are working with it at 0 is coincidence I think. Cheers
Jan 30, 2017 at 22:49 comment added Felix Dombek Hm, I didn't think about that. Given that your code was already looked upon, and improved, by others, I was puzzled but also willing to accept that C works the way you say in the hint, which is easy to misunderstand. But I don't think your post deserved a downvote. Thanks for the clarification.
Jan 30, 2017 at 22:48 history edited Albert Renshaw CC BY-SA 3.0
added 57 characters in body
Jan 30, 2017 at 22:43 comment added Albert Renshaw @FelixDombek Now that I've fixed it, it seems it's not actually any shorter that way so oh well haha
Jan 30, 2017 at 22:40 history edited Albert Renshaw CC BY-SA 3.0
added 6 characters in body
Jan 30, 2017 at 22:39 comment added Albert Renshaw @FelixDombek I wish you had just asked here first before posting on SO; the amount of downvotes flying in from that site has completely killed my post. It's simply a matter of a typo in my code, I meant to say e=b=w=o=c=1. The second defined int (c) is always set as 1 this way so I can shorten it to just e=b=w=o=c=1. Editing my code now
Jan 30, 2017 at 22:03 comment added Felix Dombek @Albert could it be that your program just relies on c,o,w,b,e to be initialized to the same value, instead of 1? Because your hint #2 seems to be not true, not for the C I know at least. Can you clarify? SO question
Jan 30, 2017 at 22:01 comment added cadaniluk We currently have a question regarding your statement "The second defined int (in this case c) is always set as 1 [...]." We'd be glad to have your statement as to why you think so over there because it just seems odd to some of us.
Jan 30, 2017 at 21:02 history edited Albert Renshaw CC BY-SA 3.0
added 13 characters in body
Jan 30, 2017 at 20:52 history edited Albert Renshaw CC BY-SA 3.0
deleted 7 characters in body
Jan 30, 2017 at 20:42 history edited Albert Renshaw CC BY-SA 3.0
added 181 characters in body
Jan 30, 2017 at 20:37 history edited Albert Renshaw CC BY-SA 3.0
added 181 characters in body
Jan 30, 2017 at 20:27 comment added Albert Renshaw @Titus Brilliant! Thank you Titus, editing now
Jan 30, 2017 at 19:52 comment added Titus Save 8 bytes with uppercase input: all ASCII codes below 100.
Jan 30, 2017 at 19:48 history edited Albert Renshaw CC BY-SA 3.0
added 159 characters in body
Jan 30, 2017 at 19:38 history edited Albert Renshaw CC BY-SA 3.0
deleted 4 characters in body
Jan 30, 2017 at 19:30 history edited Albert Renshaw CC BY-SA 3.0
added 927 characters in body
Jan 30, 2017 at 19:24 history edited Albert Renshaw CC BY-SA 3.0
added 927 characters in body
Jan 30, 2017 at 19:13 history edited Albert Renshaw CC BY-SA 3.0
deleted 35 characters in body
Jan 30, 2017 at 19:01 history edited Albert Renshaw CC BY-SA 3.0
deleted 8 characters in body
Jan 30, 2017 at 18:51 history edited Albert Renshaw CC BY-SA 3.0
added 5 characters in body
Jan 30, 2017 at 10:01 history edited Albert Renshaw CC BY-SA 3.0
added 60 characters in body
Jan 30, 2017 at 9:49 history edited Albert Renshaw CC BY-SA 3.0
added 2 characters in body
Jan 30, 2017 at 9:38 history edited Albert Renshaw CC BY-SA 3.0
deleted 1 character in body
Jan 30, 2017 at 9:20 history edited Albert Renshaw CC BY-SA 3.0
added 3 characters in body
Jan 30, 2017 at 8:58 history edited Albert Renshaw CC BY-SA 3.0
added 2 characters in body
Jan 30, 2017 at 8:53 history edited Albert Renshaw CC BY-SA 3.0
added 3 characters in body
Jan 30, 2017 at 8:43 history edited Albert Renshaw CC BY-SA 3.0
added 7 characters in body
Jan 30, 2017 at 8:23 history edited Albert Renshaw CC BY-SA 3.0
added 3 characters in body
Jan 30, 2017 at 8:17 history edited Albert Renshaw CC BY-SA 3.0
deleted 17 characters in body
Jan 30, 2017 at 8:11 history edited Albert Renshaw CC BY-SA 3.0
deleted 75 characters in body
Jan 30, 2017 at 7:55 history edited Albert Renshaw CC BY-SA 3.0
added 10 characters in body
Jan 30, 2017 at 7:46 history edited Albert Renshaw CC BY-SA 3.0
added 1 character in body
Jan 30, 2017 at 7:25 history edited Albert Renshaw CC BY-SA 3.0
added 122 characters in body
Jan 30, 2017 at 7:18 history edited Albert Renshaw CC BY-SA 3.0
deleted 57 characters in body
Jan 30, 2017 at 7:09 history answered Albert Renshaw CC BY-SA 3.0