• + 2 comments

    Hi everybody, can somebody explain why testcase q = 1, n = 5, m = 3, c_lib = 6, c_road = 1, [[1 2], [1 3], [1 4]] has answer 15. I thought should be 9 (because we have 3 road and 1 library). And also the question: why n = 5???? it should be 4 (cities = [1,2,3,4]).