0_0_17230105_26463.cpp: In function 'int main()':
0_0_17230105_26463.cpp:40:18: error: no match for 'operator[]' (operand types are 'std::priority_queue<int>' and 'int')
q[qed]=i;
^
0_0_17230105_26463.cpp:46:22: error: no match for 'operator[]' (operand types are 'std::priority_queue<int>' and 'int')
int a = q[i];
^
0_0_17230105_26463.cpp:50:22: error: no match for 'operator[]' (operand types are 'std::priority_queue<int>' and 'int')
q[qed] = edg[ep].b;
^
|