10
melpon
2 5 14
463/ 545
Last seen 10 years ago
Member for 10 years, 3 months, 7 days
Difficulty Normal
Best reviews / Newest reviews
First-melpon
Thank you! "lambda" is very convenient when writing short code. More
First-etpeura 1
You can use len(data) // 2 instead of math.floor(...). data.sort() and pop() function has side effects (caller list values is changed). More better solution is that you use sorted(data) and data[splitti-1] + data[splitti]. (I am not good at English.) More