A - 2点間距離の最大値 ( The longest distance )
AtCoder is a programming contest site for anyone from beginners to experts. We hold weekly programming contests online.