Main.cc: In function ‘void solve(int, long long int*, std::vector >*)’:
Main.cc:10:59: error: wrong number of template arguments (0, should be 1)
10 | priority_queue,vector>,greater<>>pq;
| ^
In file included from /usr/include/c++/11/string:48,
from /usr/include/c++/11/bits/locale_classes.h:40,
from /usr/include/c++/11/bits/ios_base.h:41,
from /usr/include/c++/11/ios:42,
from /usr/include/c++/11/istream:38,
from /usr/include/c++/11/sstream:38,
from /usr/include/c++/11/complex:45,
from /usr/include/c++/11/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
from Main.cc:1:
/usr/include/c++/11/bits/stl_function.h:385:12: note: provided for ‘template struct std::greater’
385 | struct greater : public binary_function<_Tp, _Tp, bool>
| ^~~~~~~
Main.cc:10:60: error: template argument 3 is invalid
10 | priority_queue,vector>,greater<>>pq;
| ^~
Main.cc:11:8: error: request for member ‘push’ in ‘pq’, which is of non-class type ‘int’
11 | pq.push({0LL,u});
| ^~~~
Main.cc:12:15: error: request for member ‘empty’ in ‘pq’, which is of non-class type ‘int’
12 | while(!pq.empty()){
| ^~~~~
Main.cc:13:21: error: request for member ‘top’ in ‘pq’, which is of non-class type ‘int’
13 | auto c = pq.top(); pq.pop();
| ^~~
Main.cc:13:31: error: request for member ‘pop’ in ‘pq’, which is of non-class type ‘int’
13 | auto c = pq.top(); pq.pop();
| ^~~
Main.cc:18:20: error: request for member ‘push’ in ‘pq’, which is of non-class type ‘int’
18 | pq.push({dis[x[0]],x[0]});
| ^~~~