Timeline for Chicken McNugget Numbers
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Mar 13, 2019 at 13:26 | history | edited | rev | CC BY-SA 4.0 |
deleted 82 characters in body
|
Mar 13, 2019 at 13:00 | comment | added | rev | Kevin, go for it. It'd be nice to see different approaches. Emigna, thanks for you suggestion, I will make the change | |
Mar 13, 2019 at 12:32 | comment | added | Emigna |
Like Kevin mentions, neither of the 3 bytes in your string are in the 05ab1e code page and thus can't be used without counting the whole program in utf-8 which would make it a lot longer. You can however use ŽGç₂в instead of the string while simultaneously saving a byte in the process.
|
|
Mar 13, 2019 at 12:12 | comment | added | Kevin Cruijssen |
Was indeed correct. Found a 12-byter by utilizing the builtin Åœ : … ÇIÅœåPOĀ . It's a completely different approach, so if you want me to post it as a separated answer rather than a golf of yours, let me know. PS: I'm not 100% sure if the unprintables are allowed in the 05AB1E codepage. It might have to be in a different encoding in that case, which would make some characters count as 2 bytes each instead.. In that case ŽBo21в could be an alternative for +1 byte.
|
|
Mar 13, 2019 at 11:52 | comment | added | Kevin Cruijssen |
Nice answer. Welcome to PPCG and the world of 05AB1E. :) One thing to golf is to use … for the string (there are buitins for 1-, 2-, and 3-char strings, being ' , „ , and … respectively). I have the feeling more can be golfed, perhaps by using a different approach, but regardless this is a nice first answer. +1 from me.
|
|
Mar 13, 2019 at 11:29 | history | edited | rev | CC BY-SA 4.0 |
deleted 123 characters in body
|
Mar 12, 2019 at 20:27 | comment | added | Gymhgy | You have duplicate TIO links. | |
Mar 12, 2019 at 19:50 | review | Late answers | |||
Mar 12, 2019 at 20:27 | |||||
Mar 12, 2019 at 19:34 | history | answered | rev | CC BY-SA 4.0 |