For this Question: A string is called square if it is some string written twice in a row. For example, the strings "aa", "abcabc", "abab" and "baabaa" are square. But the strings "aaa", "abaaab" and "abcdabc" are not square. For a given string s determine if it is square.The input consists of a string S consisting of lowercase English alphabets.

<b>Constraints</b>
The length of the string is between 1 to 100.Print Yes if the string in the corresponding test case is square, No otherwise.<b>Sample Input 1</b>
aaa
<b>Sample Output 1</b>
No

<b>Sample Input 2</b>
xyxy
<b>Sample Output 2</b>
Yes, 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++){
    string s;
    cin >> s;
    int N = s.size();
    if (N % 2 == 1){
      cout << "No" << endl;
    } else {
      if (s.substr(0, N / 2) == s.substr(N / 2)){
        cout << "Yes" << endl;
      } else {
        cout << "No" << endl;
      }
    }
  }
}, In this Programming Language: C++, Now tell me if this Code is compilable or not?