#include <bits/stdc++.h> using namespace std; int main() { int n,m; priority_queue<int> Myqueue; scanf("%d",&n); int wpl=0; for(int i=0;i<n;i++){ scanf("%d",&m); Myqueue.push(-1*m); } while(Myqueue.size()>=2){...