For this Question: Sara is playing a game in which there are N enemies. The rules of the game are simple 

* if the strength of Sara's character is greater than or equal to the enemy, Sara's character wins and eats its enemy else if the strength is less then it will be eaten by the 
   enemy. 
* Sara can choose which enemy to fight
* The strength of the defeated opponent will be added to the winner.

Given the strengths of all the enemies and the initial strength of Sara's character, will it be possible for her to win the game.The first line of input contains N and Sara's character initial strength X. The next line of input contains N space separated integers.

<b>Constraints:-</b>
1 <= N <= 10<sup>5</sup>
1 <= X, Arr[i] <= 10<sup>5</sup>Print "YES" if Sara can win else print "NO".Sample Input:-
5 10
3 9 19 5 21

Sample Output:-
YES

Explanation:-
Sara can fight enemies in the order:- 9 19 3 5 21

Sample Input:-
5 2
20 3 5 1 4

Sample Output:_
NO, I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
   
int n;
cin>>n;
int x;
cin>>x;
int a[n];
for(int i=0;i<n;i++){
    cin>>a[i];
}
sort(a,a+n);
for(int i=0;i<n;i++){
    if(x<a[i]){
        cout<<"NO";
        return 0;
    }
    x+=a[i];
}
cout<<"YES";
}
, In this Programming Language: C++, Now tell me if this Code is compilable or not?