Problem | uniquenumbers |
---|---|
User | Shauryaw |
Submission Time | 2025-06-18 15:32:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
uniquenumbers.cpp: In function ‘int main()’:
uniquenumbers.cpp:11:12: error: no matching function for call to ‘std::priority_queue<std::__cxx11::basic_string<char> >::push(long long int&)’
11 | pq.push(x);
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from uniquenumbers.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:627:7: note: candidate: ‘void std::priority_queue<_Tp, _Sequence, _Compare>::push(const value_type&) [with _Tp = std::__cxx11::basic_string<char>; _Sequence = std::vector<std::__cxx11::basic_string<char>, std::allocator<std::__cxx11::basic_string<char> > >; _Compare = std::less<std::__cxx11::basic_string<char> >; std::priority_queue<_Tp, _Sequence, _Compare>::value_type = std::__cxx11::basic_string<char>]’
627 | push(const value_type& __x)
|