Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
    string a,b,c;
    cin >> b >> c >>;
    if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
       cout << "YES" << endl;
       }else{
       cout << "NO" << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:6:21: error: expected primary-expression before ';' token
    6 |     cin >> b >> c >>;
      |                     ^
a.cc:7:8: error: 'a\U0000ff3ba' was not declared in this scope
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |        ^~~~
a.cc:7:13: error: 'length' was not declared in this scope
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |             ^~~~~~
a.cc:7:24: error: unable to find numeric literal operator 'operator""\U0000ff3d'
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |                        ^~~
a.cc:7:31: error: 'b\U0000ff3b0\U0000ff3d' was not declared in this scope
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |                               ^~~~~~
a.cc:7:41: error: 'b\U0000ff3bb' was not declared in this scope
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |                                         ^~~~
a.cc:7:57: error: unable to find numeric literal operator 'operator""\U0000ff3d'
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |                                                         ^~~
a.cc:7:64: error: '\U0000ff3b0\U0000ff3d' was not declared in this scope
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |                                                                ^~~~~
a.cc:7:73: error: 'c\U0000ff3bc' was not declared in this scope
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |                                                                         ^~~~
a.cc:7:89: error: unable to find numeric literal operator 'operator""\U0000ff3d'
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |                                                                                         ^~~
a.cc:7:96: error: 'c\U0000ff3b0\U0000ff3d' was not declared in this scope
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |                                                                                                ^~~~~~
a.cc:9:8: error: expected primary-expression before '}' token
    9 |        }else{
      |        ^
a.cc:8:30: error: expected ')' before '}' token
    8 |        cout << "YES" << endl;
      |                              ^
      |                              )
    9 |        }else{
      |        ~                      
a.cc:7:7: note: to match this '('
    7 |     if(a［a,length() - 1］ == b［0］ && b［b,length() - 1］ == ［0］ && c［c,length() - 1］ == c［0］
      |       ^
a.cc:9:8: error: expected primary-expression before '}' token
    9 |        }else{
      |        ^
a.cc: At global scope:
a.cc:9:9: error: expected unqualified-id before 'else'
    9 |        }else{
      |         ^~~~