We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ID: differentdistances
Difficulty: 1.6
CPU Time: 1 second
Memory: 1024 MB
For each line of input (x1, y1, x2, y2, p), the solution shown is the formula (|x1 - x2|^p + |y1 - y2|^p)^(1/p).
There was an error while loading. Please reload this page.