Language: C++

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

int main() {
  string s,t;
  cin>>s>>t;
  if(t==s+="q"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="w"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="e"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="r"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="t"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="y"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="u"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="i"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="o"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="p"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="a"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="s"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="d"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="f"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="g"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="h"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="j"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="k"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="l"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="z"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="x"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="c"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="v"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="b"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="n"){
    cout<<"Yes"<<endl;
  }
  else if(t==s+="m"){
    cout<<"Yes"<<endl;
  }
  else{
    cout<<"No"<<endl;
  }
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: lvalue required as left operand of assignment
    7 |   if(t==s+="q"){
      |      ~^~~
a.cc:10:12: error: lvalue required as left operand of assignment
   10 |   else if(t==s+="w"){
      |           ~^~~
a.cc:13:12: error: lvalue required as left operand of assignment
   13 |   else if(t==s+="e"){
      |           ~^~~
a.cc:16:12: error: lvalue required as left operand of assignment
   16 |   else if(t==s+="r"){
      |           ~^~~
a.cc:19:12: error: lvalue required as left operand of assignment
   19 |   else if(t==s+="t"){
      |           ~^~~
a.cc:22:12: error: lvalue required as left operand of assignment
   22 |   else if(t==s+="y"){
      |           ~^~~
a.cc:25:12: error: lvalue required as left operand of assignment
   25 |   else if(t==s+="u"){
      |           ~^~~
a.cc:28:12: error: lvalue required as left operand of assignment
   28 |   else if(t==s+="i"){
      |           ~^~~
a.cc:31:12: error: lvalue required as left operand of assignment
   31 |   else if(t==s+="o"){
      |           ~^~~
a.cc:34:12: error: lvalue required as left operand of assignment
   34 |   else if(t==s+="p"){
      |           ~^~~
a.cc:37:12: error: lvalue required as left operand of assignment
   37 |   else if(t==s+="a"){
      |           ~^~~
a.cc:40:12: error: lvalue required as left operand of assignment
   40 |   else if(t==s+="s"){
      |           ~^~~
a.cc:43:12: error: lvalue required as left operand of assignment
   43 |   else if(t==s+="d"){
      |           ~^~~
a.cc:46:12: error: lvalue required as left operand of assignment
   46 |   else if(t==s+="f"){
      |           ~^~~
a.cc:49:12: error: lvalue required as left operand of assignment
   49 |   else if(t==s+="g"){
      |           ~^~~
a.cc:52:12: error: lvalue required as left operand of assignment
   52 |   else if(t==s+="h"){
      |           ~^~~
a.cc:55:12: error: lvalue required as left operand of assignment
   55 |   else if(t==s+="j"){
      |           ~^~~
a.cc:58:12: error: lvalue required as left operand of assignment
   58 |   else if(t==s+="k"){
      |           ~^~~
a.cc:61:12: error: lvalue required as left operand of assignment
   61 |   else if(t==s+="l"){
      |           ~^~~
a.cc:64:12: error: lvalue required as left operand of assignment
   64 |   else if(t==s+="z"){
      |           ~^~~
a.cc:67:12: error: lvalue required as left operand of assignment
   67 |   else if(t==s+="x"){
      |           ~^~~
a.cc:70:12: error: lvalue required as left operand of assignment
   70 |   else if(t==s+="c"){
      |           ~^~~
a.cc:73:12: error: lvalue required as left operand of assignment
   73 |   else if(t==s+="v"){
      |           ~^~~
a.cc:76:12: error: lvalue required as left operand of assignment
   76 |   else if(t==s+="b"){
      |           ~^~~
a.cc:79:12: error: lvalue required as left operand of assignment
   79 |   else if(t==s+="n"){
      |           ~^~~
a.cc:82:12: error: lvalue required as left operand of assignment
   82 |   else if(t==s+="m"){
      |           ~^~~