#include <string> #include <string.h> #include <queue> #include <cstdio> using namespace std; int main() { int n; scanf("%d", &n); priority_queue<int> myPQeue; for (int i = 0; i < n; ++i) { char oper[6]; scanf("%s", oper); if (...