The Selection

SUST has n departments numbered from 1 to n where every pair of distinct departments is connected by a unique road. The cost of the road from city i to city j is i * j.


This is a companion discussion topic for the original entry at https://toph.co/p/the-selection