Timeline for Generate a permutation from the high-water marks
Current License: CC BY-SA 4.0
8 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 28, 2023 at 10:39 | comment | added | Dominic van Essen | @CommandMaster - yes, thanks! I hadn't noticed the generous input allowances! | |
Feb 28, 2023 at 10:38 | history | edited | Dominic van Essen | CC BY-SA 4.0 |
added 322 characters in body
|
Feb 28, 2023 at 9:42 | comment | added | Command Master |
If you take a bitmask couldn't you replace 1:n%in%h with h and not take n ?
|
|
Feb 28, 2023 at 9:02 | history | edited | Dominic van Essen | CC BY-SA 4.0 |
added 619 characters in body
|
Feb 27, 2023 at 17:11 | history | edited | Dominic van Essen | CC BY-SA 4.0 |
added 63 characters in body
|
Feb 27, 2023 at 17:09 | comment | added | Giuseppe | 38 bytes | |
Feb 27, 2023 at 17:06 | comment | added | Command Master |
function(h,n){x=1:n;x[h]=n*2:n;rank(x)} seems to work for -1
|
|
Feb 27, 2023 at 17:02 | history | answered | Dominic van Essen | CC BY-SA 4.0 |