Timeline for Compute the size of intersections of sets
Current License: CC BY-SA 4.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 27, 2021 at 12:32 | vote | accept | CommunityBot | ||
| May 24, 2021 at 9:13 | comment | added | Trang Oul | 3.8 has been released almost 2 years ago, the current is 3.9 and is 3.10 in dev. | |
| May 23, 2021 at 22:34 | comment | added | ngn | @xnor updated. thanks! | |
| May 23, 2021 at 22:33 | history | edited | ngn | CC BY-SA 4.0 | python3.8 |
| May 23, 2021 at 22:24 | comment | added | xnor | TIO has Python 3.8 (pre-release) which includes math.comb. | |
| May 23, 2021 at 22:17 | history | edited | ngn | CC BY-SA 4.0 | deleted 27 characters in body |
| May 23, 2021 at 22:10 | history | edited | ngn | CC BY-SA 4.0 | added 62 characters in body; added 32 characters in body |
| May 23, 2021 at 21:53 | history | edited | ngn | CC BY-SA 4.0 | explanation |
| May 23, 2021 at 20:46 | comment | added | ngn | @Anush yes, it's very straightforward combinatorics. i'll try to explain it later (in an hour or two). | |
| May 23, 2021 at 20:30 | comment | added | user7467 | Did you derive this formula yourself? | |
| May 23, 2021 at 20:23 | comment | added | user7467 | scipy.special.binom or scipy.special.comb? The latter comes with exact=True as an option. | |
| May 23, 2021 at 19:40 | comment | added | ngn | @AndersKaseorg thanks. unfortunately not available on tio (python 3.7.4 vs 3.8) | |
| May 23, 2021 at 19:32 | comment | added | Anders Kaseorg | FYI: math.comb. | |
| May 23, 2021 at 19:22 | comment | added | emanresu A | Still golfed for a fastest-code... | |
| May 23, 2021 at 19:20 | comment | added | user7467 | This looks clever! | |
| May 23, 2021 at 19:18 | history | answered | ngn | CC BY-SA 4.0 |