| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 1024 MB | 255 | 130 | 119 | 50.211% |
Given as input a square distance matrix, where a[i,j] is the distance between point i and point j, determine if the distance matrix is "a metric" or not.
A distance matrix a[x,y] is a metric if and only if
A single line with a single digit, which is the lowest digit of the possible facts on this list:
4 0 1 2 3 1 0 1 2 2 1 0 1 3 2 1 0
0