Problem minstack
User DoubleShaurya
Submission Time 2024-03-04 16:23:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minstack.cpp:8:84: error: could not convert ‘{2147483647}’ from ‘<brace-enclosed initializer list>’ to ‘std::priority_queue<long long int, std::vector<long long int>, std::greater<long long int> >’
8 | priority_queue <long long, vector <long long>, greater <long long>> mins = {INT_MAX};
| ^
| |
| <brace-enclosed initializer list>