Timeline for Minimum difference between cartesian product of 3 elements that add up to a certain number
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 28, 2021 at 9:51 | history | edited | U13-Forward | CC BY-SA 4.0 |
deleted 1 character in body
|
Dec 28, 2021 at 5:46 | comment | added | U13-Forward | @tsh Edited, wow!! | |
Dec 28, 2021 at 5:46 | history | edited | U13-Forward | CC BY-SA 4.0 |
added 46 characters in body
|
Dec 28, 2021 at 5:43 | comment | added | tsh |
80: lambda l:max([((z:=max(l)-x-y)in l,x<=y<=z,x-z,x,y,z)for x in l for y in l])[3:]
|
|
Dec 28, 2021 at 5:39 | comment | added | U13-Forward | @tsh Woo, why didn't I think of that! Edited my answer. | |
Dec 28, 2021 at 5:38 | history | edited | U13-Forward | CC BY-SA 4.0 |
added 23 characters in body
|
Dec 28, 2021 at 5:37 | comment | added | tsh |
85: lambda l:min([(x>y,y>z,x+y+z!=max(l),z-x,x,y,z)for x in l for y in l for z in l])[4:]
|
|
Dec 28, 2021 at 5:14 | history | edited | U13-Forward | CC BY-SA 4.0 |
deleted 21 characters in body
|
Dec 28, 2021 at 4:53 | history | edited | U13-Forward | CC BY-SA 4.0 |
added 77 characters in body
|
Dec 28, 2021 at 4:47 | history | answered | U13-Forward | CC BY-SA 4.0 |