Skip to main content

Timeline for Two Makes All The Difference - Cops

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Aug 13, 2015 at 18:13 comment added mbomb007 Nice! I doubt I would have found that. I've never used a set comprehension before. The scope leaking was interesting as well.
Aug 13, 2015 at 17:06 history edited rp.beltran CC BY-SA 3.0
added 141 characters in body
Aug 13, 2015 at 17:00 comment added Alex Van Liew I added a small explanation, I actually think this one was really clever. I don't know that I've ever even seen a set comprehension, and also relying on Python leaking y into the enclosing scope was a nice touch.
Aug 13, 2015 at 16:55 comment added rp.beltran Well done, the solution was indeed to change it to a set comprehension.
Aug 13, 2015 at 16:54 comment added Alex Van Liew Okay, my first link now cracks it correctly.
Aug 13, 2015 at 16:53 comment added Alex Van Liew I got it. It's a good one.
Aug 13, 2015 at 16:47 comment added mbomb007 A summary of what I found so far: no combination of replacing x with y, y with x, or changing the digit in the range result in 19 tildes. I also experimented with inserting a - before either x or y, and with changing % to one of + - / *, to no avail. I'm fairly certain now that 1 or 2 inserts is required.
Aug 13, 2015 at 16:43 comment added mbomb007 Not cracked yet. Here's what I've done so far, but I know I'm not doing it quite right (since more then 2 chars are changed sometimes. I also don't do inserts/deletes yet). Anyone want to modify it?
Aug 13, 2015 at 16:28 comment added Alex Van Liew Cracked, I think
Aug 13, 2015 at 16:23 comment added Alex Van Liew Is that 40 tildes and then 19 tildes? And I suppose this is run in the interpreter?
Aug 13, 2015 at 5:53 history answered rp.beltran CC BY-SA 3.0