{"problem":{"name":"Various distances","description":{"content":"Given is a point $(x_1,\\ldots,x_N)$ in an $N$\\-dimensional space. Find the Manhattan distance, Euclidian distance, and Chebyshev distance between this point and the origin. Here, each of them is defin","description_type":"Markdown"},"platform":"AtCoder","limit":{"time_limit":2000,"memory_limit":262144},"difficulty":"None","is_remote":true,"is_sync":true,"sync_url":null,"sign":"abc180_b"},"statements":[{"statement_type":"Markdown","content":"Given is a point $(x_1,\\ldots,x_N)$ in an $N$\\-dimensional space.\nFind the Manhattan distance, Euclidian distance, and Chebyshev distance between this point and the origin. Here, each of them is defined as follows:\n\n*   The Manhattan distance: $|x_1|+\\ldots+|x_N|$\n*   The Euclidian distance: $\\sqrt{|x_1|^2+\\ldots+|x_N|^2}$\n*   The Chebyshev distance: $\\max(|x_1|,\\ldots,|x_N|)$\n\n## Constraints\n\n*   $1 \\leq N \\leq 10^5$\n*   $-10^5 \\leq x_i \\leq 10^5$\n*   All values in input are integers.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n$x_1$ $\\ldots$ $x_N$\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"abc180_b","tags":[],"sample_group":[["2\n2 -1","3\n2.236067977499790\n2\n\nEach of the distances is computed as follows:\n\n*   The Manhattan distance: $|2|+|-1|=3$\n*   The Euclidian distance: $\\sqrt{|2|^2+|-1|^2}=2.236067977499789696\\ldots$\n*   The Chebyshev distance: $\\max(|2|,|-1|)=2$"],["10\n3 -1 -4 1 -5 9 2 -6 5 -3","39\n14.387494569938159\n9"]],"created_at":"2026-03-03 11:01:14"}}