Timeline for Advent of Code 2020, Day 2, Part 1
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 19, 2020 at 20:09 | comment | added | Efi | 67 p$<.count{|l|a,b,c,s=l.split /-|:? /;(a.to_i..b.to_i)===s.count(c)} | |
| Dec 7, 2020 at 11:34 | comment | added | JJoos | 73 p$<.count{|l|a,b,c,_,s=l.split /\W/;a.to_i>=x=s.count(c[0])and x<=b.to_i} | |
| S Dec 5, 2020 at 22:47 | history | suggested | Sixtyfive | CC BY-SA 4.0 | fixing typo, adding links to make edit possible |
| Dec 5, 2020 at 22:35 | review | Suggested edits | |||
| S Dec 5, 2020 at 22:47 | |||||
| Dec 5, 2020 at 21:12 | history | edited | Efi | CC BY-SA 4.0 | deleted 164 characters in body |
| Dec 5, 2020 at 21:05 | comment | added | Sixtyfive | Piping it from stdin is alright, so long as it remains a string. FWIW, I've worked that same suggestion into my original answer, too. | |
| Dec 5, 2020 at 21:03 | history | edited | Efi | CC BY-SA 4.0 | added 222 characters in body |
| Dec 5, 2020 at 20:44 | comment | added | The Fifth Marshal | 74 characters | |
| Dec 5, 2020 at 20:38 | comment | added | Sixtyfive | Didn't know about the ?string syntax, thank you @Efi! :-) | |
| Dec 5, 2020 at 20:37 | review | First posts | |||
| Dec 5, 2020 at 21:25 | |||||
| Dec 5, 2020 at 20:36 | history | answered | Efi | CC BY-SA 4.0 |