Skip to main content
10 events
when toggle format what by license comment
Jun 17, 2020 at 9:04 history edited CommunityBot
Commonmark migration
Aug 17, 2016 at 19:40 comment added Program man @Delioth I did not consider that 0 views implies 0 answers, so you're absolutely right.
Aug 17, 2016 at 19:02 comment added Delioth @Programman Though the spec says 0 is minimum, division and multiplication of non-negative, non-zero integers is guaranteed to != 0, and the ceiling operator will make anything between 0-1 and make it 1. Although I suppose there could be the case of 0 views, however 0 views implies 0 answers, which leads to undefined behavior (division by 0). It's likely provable that 0 is impossible and should not even be mentioned.
Aug 17, 2016 at 18:34 history edited Cody CC BY-SA 3.0
added 9 characters in body
Aug 17, 2016 at 18:33 comment added Cody Oops I misread the minimum. Thanks for the tip
Aug 17, 2016 at 18:32 comment added Program man According to the spec, 0 is the minimum stars, not 1. Also save a whole 1 byte by import* with no space.
Aug 17, 2016 at 18:26 comment added Cody Included the import into the byte count
Aug 17, 2016 at 18:25 history edited Cody CC BY-SA 3.0
deleted 74 characters in body
Aug 17, 2016 at 18:20 comment added NonlinearFruit You do need to include imports, but from math import * will save a couple bytes
Aug 17, 2016 at 17:23 history answered Cody CC BY-SA 3.0