Language: C++

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

int main(){
	string a,b,c;
	cin >> a>> 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:7:12: 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:17: 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:28: 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:35: 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:45: 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:61: 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:68: 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:77: 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:93: 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:100: 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:17: error: expected primary-expression before '}' token
    9 |                 }else{
      |                 ^
a.cc:8:39: error: expected ')' before '}' token
    8 |                 cout << "YES" << endl;
      |                                       ^
      |                                       )
    9 |                 }else{
      |                 ~                      
a.cc:7:11: 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:17: error: expected primary-expression before '}' token
    9 |                 }else{
      |                 ^
a.cc: At global scope:
a.cc:9:18: error: expected unqualified-id before 'else'
    9 |                 }else{
      |                  ^~~~