Skip to main content

Timeline for Same length, different string

Current License: CC BY-SA 3.0

21 events
when toggle format what by license comment
May 31, 2017 at 16:18 comment added Jörg Hülsermann @Titus I have added the PHP Version must be under 7.1 . Thank You
May 31, 2017 at 16:17 history edited Jörg Hülsermann CC BY-SA 3.0
added 1 character in body
May 31, 2017 at 15:57 comment added Titus @Christoph ^"\1" fails for ~ in the input; ^"1" would fail for N. That´d better be "\2", "\4" or "\8".
May 31, 2017 at 15:56 comment added Titus PHP 7.1 yields A non-numeric value encountered. And You can use ~ instead of a&.
May 30, 2017 at 21:15 history edited Jörg Hülsermann CC BY-SA 3.0
deleted 20 characters in body
May 30, 2017 at 21:08 history rollback Jörg Hülsermann
Rollback to Revision 7
May 30, 2017 at 20:57 history edited Jörg Hülsermann CC BY-SA 3.0
deleted 13 characters in body
May 30, 2017 at 20:45 comment added Christoph Yeah I saw it sadly it doesn't work for my own approach because "101"^1 would be 100 while "101"^"\1" is "0".
May 30, 2017 at 20:43 comment added Jörg Hülsermann @Christoph I have improve you idea
May 30, 2017 at 20:42 history edited Jörg Hülsermann CC BY-SA 3.0
added 1 character in body
May 30, 2017 at 20:42 comment added Christoph I did it 30 bytes.
May 30, 2017 at 20:41 history edited Jörg Hülsermann CC BY-SA 3.0
added 1 character in body
May 30, 2017 at 20:37 comment added Christoph I'm trying to make an answer without loop. If I fail I might post it :)
May 30, 2017 at 20:34 comment added Jörg Hülsermann @Christoph Take this as your own approach and I can upvote it
May 30, 2017 at 20:33 comment added Christoph for(;a&$c=$argn[$i++];)echo$c^"\1"; btw this has different output but also works.
May 30, 2017 at 20:31 comment added Jörg Hülsermann @CalculatorFeline "1"=>0, "10"=>01, "101"=>010 Where fails it?
May 30, 2017 at 20:21 history edited Jörg Hülsermann CC BY-SA 3.0
deleted 412 characters in body
May 30, 2017 at 17:30 history rollback Jörg Hülsermann
Rollback to Revision 2
May 30, 2017 at 17:25 history edited Jörg Hülsermann CC BY-SA 3.0
added 310 characters in body
May 30, 2017 at 17:00 history edited Jörg Hülsermann CC BY-SA 3.0
added 300 characters in body
May 30, 2017 at 16:54 history answered Jörg Hülsermann CC BY-SA 3.0