Timeline for Repeated! Factorials!
Current License: CC BY-SA 4.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Aug 6, 2019 at 8:15 | comment | added | maxb |
I tried getting it to 6 bytes, but I needed a swap to get the uninterleave working correctly. I ended up with MLRsιнP , which needs the input to be in the header.
|
|
Aug 6, 2019 at 8:02 | comment | added | Kevin Cruijssen |
@maxb Nope. it does have popAndGetMaxOfList (à ), maxOfListWithoutPopping (Z ), and maxOfStack (M ). So if you cannot use M because it also has other elements on the stack, you could use ‚à (pair + popAndPushMax) instead.
|
|
Aug 6, 2019 at 7:50 | comment | added | maxb |
I was looking at the documentation, doesn't 05AB1E have a maximum of two elements command? I.e. pop(a, b), push(max(a, b)) .
|
|
Aug 5, 2019 at 20:18 | comment | added | Kevin Cruijssen |
@JonathanAllan Nice way to save a byte. And now that you've mentioned it, it's indeed a bit confusing that the 0 is included when it's outside the specified range. (I know the range has been added later than the 0 edge case in the Sandbox, though.)
|
|
Aug 5, 2019 at 20:18 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
added 156 characters in body
|
Aug 5, 2019 at 19:15 | comment | added | Jonathan Allan |
...and if 0! is in the input domain ݦRXιнP saves a byte.
|
|
Aug 5, 2019 at 19:10 | comment | added | Jonathan Allan |
0K should be unnecessary as 0! is an invalid input by the specification (even though it's been included in the examples) - I have commented about this.
|
|
Aug 5, 2019 at 8:33 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
added 92 characters in body
|
Aug 5, 2019 at 8:29 | comment | added | Kevin Cruijssen | @Mr.Xcoder Nice answer! Never even used uninterleave with a given step. :) | |
Aug 5, 2019 at 8:28 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
added 161 characters in body
|
Aug 5, 2019 at 8:23 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
added 161 characters in body
|
Aug 5, 2019 at 8:20 | comment | added | Mr. Xcoder |
But I guess that 0 case can be fixed in at most 2 bytes. If you figure out a way to fix it, you may take it :) EDIT: Perhaps LR²ιн0KP for 8 bytes?
|
|
Aug 5, 2019 at 8:20 | comment | added | Mr. Xcoder |
This 6-byter: LR²ιнP (Try it online!) works for every test case, except for 0.
|
|
Aug 5, 2019 at 8:16 | history | undeleted | Kevin Cruijssen | ||
Aug 5, 2019 at 8:16 | history | edited | Kevin Cruijssen | CC BY-SA 4.0 |
added 161 characters in body
|
Aug 5, 2019 at 8:10 | history | deleted | Kevin Cruijssen | via Vote | |
Aug 5, 2019 at 8:06 | history | answered | Kevin Cruijssen | CC BY-SA 4.0 |