what is the problem in this code

#include
using namespace std;
int i=1,L,W,x,s[10],r[10],m[10],n[10];
int win();
int main()
{
cout<<“Enter number of Rounds”<<endl;
cin>>x;
cout<<"\nEnter scores of Player 1 & Player 2"<<endl;
for(i=1;i<=x;i++)
{
cin>>s[i]>>r[i];
}
win();
cout<<W<<"\t"<<L;
}

int win()
{
for(i=1;i<=x;i++)
{
if(s[i]>r[i])
{
m[i]=s[i]-r[i];
}
else if(r[i]>s[i])
{
n[i]=s[i]-r[i];
}
}
for(i=1;i<=x;++i)
{
if(m[0] < m[i]){m[0] = m[i];}
if(n[0] < n[i]){n[0] = n[i];}
}
if(m[0]<n[0])
{
L=n[0];
W=2;
}
if(m[0]>n[0])
{
L=m[0];
W=1;
}
}

//