Python 3, (削除) 48 (削除ここまで) (削除) 46 (削除ここまで) 4544 bytes
-1 byte2 bytes thanks to @nwellnhof
lambda*a:map(lambda*x:max(x)*2/len({*x})),*a)
Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange-1 byte2 bytes thanks to @nwellnhof
lambda*a:map(lambda*x:max(x)*2/len({*x})),*a)