For each testcase, print two space separated values in one line. The first value is the distance ofPfrom the pointAand the second value is the maximum of all the possible shortest paths betweenPand all of Savita's and her friends' houses. Round both answers to5decimal digits and print ex...
Score for a test case = 10 * C/T Where T = Number of Tests And C = Correct Answers Please note, that there is no perfect solution to this open-ended problem. Any solution scoring 80% or above, of the maximum score, is a commendable achievement. <cmath> #include<cstdio> #include<...