brunhilda.cpp: In function 'int main()':
brunhilda.cpp:51:5: error: reference to 'priority_queue' is ambiguous
51 | priority_queue<cha> pq;
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/13/queue:66,
from /usr/include/x86_64-linux-gnu/c++/13/bits/stdc++.h:157,
from brunhilda.cpp:3:
/usr/include/c++/13/bits/stl_queue.h:498:11: note: candidates are: 'template<class _Tp, class _Sequence, class _Compare> class std::priority_queue'
498 | class priority_queue
| ^~~~~~~~~~~~~~
In file included from brunhilda.cpp:6:
/usr/include/c++/13/ext/pb_ds/priority_queue.hpp:84:9: note: 'template<class _Tv, class Cmp_Fn, class Tag, class _Alloc> class __gnu_pbds::priority_queue'
84 | class priority_queue
| ^~~~~~~~~~~~~~
brunhilda.cpp:51:23: error: expected primary-expression before '>' token
51 | priority_queue<cha> pq;
| ^
brunhilda.cpp:51:25: error: 'pq' was not declared in this scope; did you mean 'q'?
51 | priority_queue<cha> pq;
| ^~
| q
brunhilda.cpp:33:20: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | int m, q; scanf("%d %d", &m, &q);
| ~~~~~^~~~~~~~~~~~~~~~~
brunhilda.cpp:35:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
35 | scanf("%d", &a[i]);
| ~~~~~^~~~~~~~~~~~~
brunhilda.cpp:40:14: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
40 | scanf("%d", &qu[i]);
| ~~~~~^~~~~~~~~~~~~~