Timeline for Find i^n, given n
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Nov 21, 2014 at 21:15 | history | edited | MegaTom | CC BY-SA 3.0 |
deleted 5 characters in body
|
Nov 21, 2014 at 20:05 | comment | added | histocrat |
You can trivially golf this more with puts %w[1 i -1 i][gets.to_i % 4] .
|
|
Nov 21, 2014 at 19:20 | history | answered | MegaTom | CC BY-SA 3.0 |