C++ Practice Problem – Calculate the Distance Between Two Points

C++ Practice Problem - Calculate the Distance Between Two Points

Time Limit: 2s Memory Limit: 192MB Problem Description Input the coordinates of two points (X1,Y1), (X2,Y2), and calculate and output the distance between the two points. Input Format Input data consists of multiple groups, each group occupies one line, consisting of 4 real numbers representing x1, y1, x2, y2, separated by spaces. Output Format For … Read more