">#include<algorithm> #include<vector> using namespace std; int function(int n, vector<int>& nums){ int count = 0; int result = 0; for(int i = 0; i < n; i++){ if(nums[i] <= nums[0]){ count++; } } //cout<<count; w...