Language
C++
Compiler
clang 9.0.0
Options
Warnings
Boost 1.72.0
C++17
-pedantic-errors
$ clang++ prog.cc -Wall -Wextra -I/opt/wandbox/boost-1.72.0/clang-9.0.0/include -std=c++17 -pedantic-errors
The sum of all distances is: 29.842
The maximum distance is: 9
The minimum distance is: 2.7
The average (mean) distance is: 5.9684
Exit Code:
0