you give array network tower tower towersi xi yi qi denote ith network tower location xi yi quality factor qi all coordinate integral coordinate XY plane distance coordinate Euclidean distanceyou give integer radius tower reachable distance equal radius outside distance signal garbled tower reachableThe signal quality ith tower coordinate x y calculate formula qi 1 d d distance tower coordinate the network quality coordinate sum signal quality reachable towersreturn array cx cy represent integral coordinate cx cy network quality maximum if multiple coordinate network quality return lexicographically minimum nonnegative coordinatenotea coordinate x1 y1 lexicographically small x2 y2 eitherx1 x2 orx1 x2 y1 y2val great integer equal val floor function Example 1input tower 125217319 radius 2output 21explanation at coordinate 2 1 total quality 13 Quality 7 2 1 result 7 1 sqrt0 7 7 Quality 5 1 2 result 5 1 sqrt2 207 2 Quality 9 3 1 result 9 1 sqrt1 45 4no coordinate high network qualityExample 2input tower 231121 radius 9output 2311explanation since tower network quality high right tower locationexample 3input tower 1213217019 radius 2output 12Explanation Coordinate 1 2 high network quality Constraints1 towerslength 50towersilength 30 xi yi qi 501 radius 50