For this Question: Four players participate in the playoff tournament. The tournament is held according to the following scheme: 
<ul>
<li>the first player will play with the second, and</li>
<li>the third player with the fourth, then</li>
<li>the winners of the pairs will play in the finals of the tournament.</li>
</ul>
It is known that in a match between two players, the one whose skill is greater will win. The skill of the ith player is equal to s<sub>i</sub> and all skill levels are pairwise different (i.e. there are no two identical values in the array s).

The tournament is called fair if the two players with the highest skills meet in the finals. Determine whether the given tournament is fair.The input consists of 4 space- spearated integers s<sub>1</sub>, s<sub>2</sub>, s<sub>3</sub>, s<sub>4</sub>.

<b>Constraints</b>
1 &le; s<sub>i</sub> &le; 100Print Yes if the tournament is fair, or No otherwise.<b>Sample Input 1</b>
3 7 9 5
<b>Sample Output 1</b>
Yes

<b>Sample Input 2</b>
4 5 6 9
<b>Sample Output 2</b>
No, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
int main(){
  int t=1;
//  cin >> t;
  for (int i = 0; i < t; i++){
    vector<int> s(4);
    for (int j = 0; j < 4; j++){
      cin >> s[j];
    }
    int m1 = max(s[0], s[1]);
    int m2 = max(s[2], s[3]);
    if (m1 > m2){
      swap(m1, m2);
    }
    sort(s.begin(), s.end());
    if (s[2] == m1 && s[3] == m2){
      cout << "Yes" << "\n";
    } else {
      cout << "No" << "\n";
    }
  }
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?