Problem bucketstacking
User PlayVoltz
Submission Time 2024-03-01 12:09:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bucketstacking.cpp: In function ‘int32_t main()’:
bucketstacking.cpp:35:12: error: request for member ‘size’ in ‘b’, which is of non-class type ‘long long int’
35 | while (b.size()>=2){
| ^~~~
bucketstacking.cpp:42:9: error: request for member ‘size’ in ‘b’, which is of non-class type ‘long long int’
42 | if (b.size())vect.pb(mp(pq.top(), a));
| ^~~~