/in/foo.cc: In function 'int main()':
/in/foo.cc:57:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::priority_queue<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
   57 |     if (T <= num[n - 1].h) printf("%d", que.size());
      |                                    ~^   ~~~~~~~~~~
      |                                     |           |
      |                                     int         std::priority_queue<int>::size_type {aka long unsigned int}
      |                                    %ld
/in/foo.cc:58:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::priority_queue<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
   58 |     else printf("%d", que.size()-1);
      |                  ~^   ~~~~~~~~~~~~
      |                   |             |
      |                   int           std::priority_queue<int>::size_type {aka long unsigned int}
      |                  %ld