Skip to main content

Timeline for That's a lot of monkeys

Current License: CC BY-SA 3.0

16 events
when toggle format what by license comment
Apr 19, 2019 at 22:38 comment added ceilingcat 167 bytes
Jan 17, 2018 at 2:24 history edited qqq CC BY-SA 3.0
edited body
Nov 6, 2017 at 16:44 comment added Steadybox @user202729 Thanks. It's fixed now.
Nov 6, 2017 at 16:43 comment added Steadybox @zennehoy Thanks for pointing that out. It's fixed (and ugly and long) now.
Nov 6, 2017 at 16:38 history undeleted Steadybox
Nov 6, 2017 at 16:37 history edited Steadybox CC BY-SA 3.0
added 998 characters in body
Nov 6, 2017 at 15:12 history deleted Steadybox via Vote
Nov 6, 2017 at 14:56 comment added user202729 I guess you need something like KMP so that this approach can be valid. Assume the input string is ababc and the monkey generate !!abababc will your program halt?
Nov 6, 2017 at 14:28 comment added zennehoy As much as I like this answer, I believe it breaks for an input such as "ab" when the rand monkeys type "aab".
Nov 5, 2017 at 23:11 history edited Steadybox CC BY-SA 3.0
added 63 characters in body
Nov 5, 2017 at 22:57 history edited Steadybox CC BY-SA 3.0
added 14 characters in body
Nov 5, 2017 at 22:53 comment added ATaco Oh, so instead of throwing random characters at it until s is accidentally created, it throws random characters at it until it reaches s. Smart.
Nov 5, 2017 at 22:52 comment added Steadybox @ATaco It halts when i grows large enough that s[i] refers to the null terminator of the string (character 0).
Nov 5, 2017 at 22:49 history edited Steadybox CC BY-SA 3.0
edited body
Nov 5, 2017 at 22:48 comment added ATaco I have absolutely no idea why this halts when it hits s, +1
Nov 5, 2017 at 22:46 history answered Steadybox CC BY-SA 3.0