C++ please help. Create a new source file namedsolve.cpp that implements the function declared insolve.h Also correct the implementation of thetemplate class in minpriorityqueue.h so that itall compiles
main.cpp too long topost, here is the link:
https://www.dropbox.com/sh/6bm1wmyie9mjak9/AAChUNMI1xLota43AuQ_8FqRa?dl=0&preview=main.cpp
minpriorityheap.h
#ifndef MINPRIORITYHEAP_H
#define MINPRIORITYHEAP_H
// NOTE: You may not include any other libraries!
#include
#include
#include // Has pair and swap
using namespace std;
template
class MinPriorityHeap
{
// For the mandatory running timesbelow:
//
// n is the number of elements in theMinPriorityHeap.
//
// Assume that the operations ofunordered_map are O(1) time
// (they are average case,
PayPal Gateway not configured
PayPal Gateway not configured