原创 hdu5884

#include<stdio.h> #include<iostream> #include<queue> #include <algorithm> using namespace std; int n,m; long long t