Problem3437--【Div4】abc411b - Distance Table

3437: 【Div4】abc411b - Distance Table

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description



Sample Input Copy

5
5 10 2 3

Sample Output Copy

5 15 17 20
10 12 15
2 5
3

Source/Category