/in/foo.cc: In function 'int dijkstra(int, int, int)':
/in/foo.cc:25:24: error: no type named 'value_type' in 'struct cmp'
priority_queue<pii,cmp> pq;
^
/in/foo.cc:25:24: error: template argument 3 is invalid
/in/foo.cc:29:5: error: request for member 'push' in 'pq', which is of non-class type 'int'
pq.push(mp(0,s));
^~~~
/in/foo.cc:31:11: error: request for member 'size' in 'pq', which is of non-class type 'int'
while(pq.size()){
^~~~
/in/foo.cc:32:15: error: request for member 'top' in 'pq', which is of non-class type 'int'
auto p = pq.top();pq.pop();
^~~
/in/foo.cc:32:24: error: request for member 'pop' in 'pq', which is of non-class type 'int'
auto p = pq.top();pq.pop();
^~~
/in/foo.cc:35:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<edges[c].size();i++){
~^~~~~~~~~~~~~~~~
/in/foo.cc:39:8: error: request for member 'push' in 'pq', which is of non-class type 'int'
pq.push(mp(d[e.first], e.first));
^~~~