fountain.cpp: In function 'int main()':
fountain.cpp:12:84: error: template argument 3 is invalid
12 | priority_queue<pair<int, int>, vector<pair<int, int> >, greater<pair<int, int> > pq;
| ^~
fountain.cpp:15:12: error: 'pq' was not declared in this scope; did you mean 'q'?
15 | while(!pq.empty() && pq.top().ff < d){
| ^~
| q
fountain.cpp:19:5: error: 'pq' was not declared in this scope; did you mean 'q'?
19 | pq.push({d, i});
| ^~
| q
fountain.cpp:21:10: error: 'pq' was not declared in this scope; did you mean 'q'?
21 | while(!pq.empty()){
| ^~
| q
fountain.cpp:36:12: error: 'h20' was not declared in this scope; did you mean 'h2o'?
36 | v -= h20[r][i];
| ^~~
| h2o