Timeline for Counting rankings
Current License: CC BY-SA 4.0
5 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 9, 2024 at 11:39 | history | edited | ovs | CC BY-SA 4.0 |
simplification based on k<=n
|
| Feb 7, 2024 at 21:58 | comment | added | ovs | @xnor thanks! I should've looked a bit closer, just from writing the O(n^2) APL answer I knew this could be done with fewer variables | |
| Feb 7, 2024 at 21:55 | history | edited | ovs | CC BY-SA 4.0 |
added 22 characters in body
|
| Feb 7, 2024 at 20:44 | comment | added | xnor |
I noticed that r only ever appeared in comparison to k, so you can eliminate it: Try it online!
|
|
| Feb 7, 2024 at 10:10 | history | answered | ovs | CC BY-SA 4.0 |