用一个优先队列存储咖啡机。。。然后遍历。。。。但是时间来不及了,没交上。不知道思路对不对。 // 本题为考试多行输入输出规范示例,无需提交,不计分。 #include <iostream> #include <cstdio> #include <queue> using namespace std;struct Machine{ int end; int time; Machine(int time, int end) : time(time), end(end) {} bool operator < (Machine m) const { retur...