Activity for Unrelated String
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Edit | Post #292937 | Initial revision | — | 15 days ago |
Answer | — |
A: Display a Progress Bar [Jelly], 13 bytes 50R>×ɗị⁾-|Øj [Try it online! Full program only--insofar as supporting the input requirements is concerned. Jelly implicitly Python evals the arguments to every program, so slash-separated input of two numbers becomes a float. ``` 50R For every [1 ..... (more) |
— | 15 days ago |
Comment | Post #283413 |
That's what we like to call an "unobservable requirement". Doesn't help that it's one that makes the challenge beyond trivial for some languages (because there's only one approach they're allowed to use) and completely impossible for others, depending on how you interpret and enforce it... (more) |
— | over 3 years ago |
Edit | Post #281370 |
Post edited: |
— | over 3 years ago |
Edit | Post #281370 | Initial revision | — | over 3 years ago |
Answer | — |
A: Cumulative Counts [Jelly], 4 bytes ¹Ƥċ" Try it online! ``` " For each element of the input, ċ how many times does it occur in ¹Ƥ " the corresponding prefix of the input? ``` (more) |
— | over 3 years ago |
Edit | Post #280989 | Initial revision | — | over 3 years ago |
Answer | — |
A: Is it a near-anagram? [Brachylog], 8 bytes pᵐ≠{b|}ᵛ Try it online! Since it takes $5!5! = 14400$ tries to determine that the first test case gives false, I've added some shorter ones... ``` pᵐ Permute each element of the input. ≠ The permuted elements are not equal, { }ᵛ bu... (more) |
— | over 3 years ago |
Edit | Post #280587 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Truthify an array [Jelly], 2 bytes ŒṪ Try it online! 1-indexed, but the footer converts to 0-indexed. Less built-in: [Jelly], 3 bytes œẹ1 Try it online! ``` œẹ All multidimensional indices of 1 one. ``` Less built-in: [Jelly], 7 bytes J,Ɱ"T€Ẏ Try it o... (more) |
— | almost 4 years ago |
Edit | Post #280307 |
Post edited: |
— | almost 4 years ago |
Edit | Post #280307 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Length of a Sumac Sequence [Jelly], 9 bytes Rȧ@Rп@L Try it online! Takes $t1$ on the left and $t2$ on the right. `R}ȧ@RпL` works given the arguments in the opposite order. ``` R Ascending range from 1 to t1 (truthy if positive), ȧ and: п collecting intermediate results,... (more) |
— | almost 4 years ago |
Edit | Post #280241 | Initial revision | — | almost 4 years ago |
Answer | — |
A: Evaluate a single variable polynomial equation [Jelly], 1 byte ḅ Try it online! Essentially just Razetime's APL answer, except in that `ḅ` vectorizes rather than carrying out mixed base conversion--irrelevant if, as is the case here, the provided base is scalar. Takes a reversed coefficient list on the left and $x$ on the right. (more) |
— | almost 4 years ago |