Timeline for Make Wise Numbers
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 8, 2017 at 10:54 | comment | added | Adnan |
First, it swaps the arguments because it would run into an exception if it was evaluated normally. After swapping, it maps 0 to the zeroth element and 1 to the first element (because it vectorizes automatically). Here is a more clear example of how it works.
|
|
May 8, 2017 at 10:51 | comment | added | sporkl | @Adnan Just a quick question, how does è work here? | |
May 7, 2017 at 23:11 | comment | added | sporkl | @Adnan Thank you very much! | |
May 7, 2017 at 23:11 | history | edited | sporkl | CC BY-SA 3.0 |
golfed
|
May 7, 2017 at 21:50 | comment | added | Adnan |
Hey nice! You don't actually need to convert the numbers to strings as they are equal 'types' in 05AB1E. Same for the number literals (you can do without the ' ). You can also use indexing, which should give you 11 bytes :).
|
|
May 7, 2017 at 20:35 | history | answered | sporkl | CC BY-SA 3.0 |