Problem competition
User Mimikyu
Submission Time 2024-02-06 22:17:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

competition.cpp: In function ‘int32_t main()’:
competition.cpp:83:30: error: invalid use of member function ‘std::priority_queue<_Tp, _Sequence, _Compare>::size_type std::priority_queue<_Tp, _Sequence, _Compare>::size() const [with _Tp = long long int; _Sequence = std::vector<long long int>; _Compare = std::greater<long long int>; std::priority_queue<_Tp, _Sequence, _Compare>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
83 | if(brr[i]>=pq.top() and pq.size!=0){
| ~~~^~~~
| ()