The above code gives error Char 41: fatal error: template argument for template type parameter must be a type
priority_queue <mp, vector<mp>, Comparator(matrix)> pq
Hence I'm here. I intend to use make of an extra variable inside the operator everytime.