Timeline for What's next, Achilles?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Oct 29, 2023 at 23:16 | comment | added | Nick Kennedy | Quite right. I thought I’d tested that but must have missed something! Nice solution by the way. | |
| Oct 29, 2023 at 18:31 | comment | added | Jonathan Allan | @NickKennedy that won't work even though it passes all the test cases. A counter-example would be an input of \$2^3 \times 5^4 = 5000\$ which should find \$2^2 \times 3^3 \times 7^2 = 5292\$ but will find \$2^6 \times 3^4 = 5184\$ because [2]Ị is [0] which is truthy. | |
| Oct 29, 2023 at 13:26 | comment | added | Nick Kennedy | If you’d like to save a byte on this almost three-year-old answer, you can replace f1Ʋ with ỊƊ: tio.run/#%23y0rNyan8//… | |
| Feb 23, 2021 at 13:37 | comment | added | Unrelated String | Very clever use of filtering--even if it had occurred to me that I could count on the GCD being 1 if it matters to check if the number is powerful, I probably still wouldn't have come up with that. | |
| Feb 23, 2021 at 10:20 | history | edited | Jonathan Allan | CC BY-SA 4.0 | added 758 characters in body |
| Feb 23, 2021 at 2:33 | history | answered | Jonathan Allan | CC BY-SA 4.0 |