For this Question: There is a room filled with letters.  Newton can choose exactly three letters C<sub>1</sub>, C<sub>2</sub> and C<sub>3</sub>. If all of them are the same letter, then it is considered as a win.
Determine whether Newton wins.The first line contains three letters C<sub>1</sub>, C<sub>2</sub> and C<sub>3</sub>.

<b>Constraints</b>
C<sub>i</sub> is an uppercase English letter.If the result is a win, print Won; otherwise, print Lost.<b>Sample Input 1:</b>
SSS

<b>Sample Output 1:</b>
Won

<b>Sample Explanation 1:</b>
All of them are the same letter, so it is a win.


<b>Sample Input 2:</b> 
WVW

<b>Sample Output 2:</b>
Lost

<b>Sample Explanation 2:</b>
It is not a win., I have written this Solution Code: #include <bits/stdc++.h>
using namespace std;
const int sz=100000+4;
int arr1[3];
int arr2[3];
int main()
{
    string s;
    cin >>s;
    for (int i =0;i<s.length();i++){
        if (s[i]==s[i+1]&&s[i+1]==s[i+2]){
            cout <<"Won"<<'\n';
            break;
        }
        else cout <<"Lost"<<'\n';
        break;
    }
    return 0;
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?