Timeline for Get the century of a year
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 24, 2018 at 11:32 | comment | added | wastl | @BastianBittorf That fails for numbers < 1000 and multiples of 100. | |
Jul 24, 2018 at 7:19 | comment | added | Bastian Bittorf | 18 bytes, by getting the 1st two bytes of the string and increment -> echo $[${1:0:2}+1] | |
Jul 23, 2018 at 15:57 | history | edited | wastl | CC BY-SA 4.0 |
improved score
|
Jul 23, 2018 at 15:28 | comment | added | Wheat Wizard♦ | 19 bytes | |
Jul 23, 2018 at 15:24 | history | answered | wastl | CC BY-SA 4.0 |