문제https://www.acmicpc.net/problem/1781 해설기본적인 우선순위 큐를 이용하는 문제 2109문제와 거의 비슷하다코드123456789101112131415161718192021222324252627282930313233343536373839404142#include iostream>#include algorithm>#include vector>#include queue>using namespace std; int n, deadline;typedef long long ll;ll cups, ret;vectorpairint, ll>> v;priority_queuell, vectorll>, greaterll>> pq; int main(){ ios_base::sync_with_stdio..