Language: C++

#include<bits/stdc++.h>
using namespace std;
long long x[100010],y[100010],z[100010];
int main(){

  cin.tie(0);
  ios::sync_with_stdio(false);

  long long a,b,cnt=0,ans=0,c;
  string s,v;

  cin>>s;
  if(s[0]=="a" && s[1]=="b" && s[2]=="c"){
    cout<<"Yes"<<'\n';
  }else if(s[0]=="b" && s[1]=="a" && s[2]=="c"){
    cout<<"Yes"<<'\n';
  }else if(s[0]=="c" && s[1]=="a" && s[2]=="b"){
    cout<<"Yes"<<'\n';
  }else if(s[0]=="a" && s[1]=="c" && s[2]=="b"){
    cout<<"Yes"<<'\n';
  }else if(s[0]=="b" && s[1]=="c" && s[2]=="a"){
    cout<<"Yes"<<'\n';
  }else if(s[0]=="c" && s[1]=="b" && s[2]=="a"){
    cout<<"Yes"<<'\n';
  }else{
    cout<<"No"<<'\n';
  }

}
  


Compiler output:
a.cc: In function 'int main()':
a.cc:13:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |   if(s[0]=="a" && s[1]=="b" && s[2]=="c"){
a.cc:13:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |   if(s[0]=="a" && s[1]=="b" && s[2]=="c"){
a.cc:13:36: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |   if(s[0]=="a" && s[1]=="b" && s[2]=="c"){
a.cc:15:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   15 |   }else if(s[0]=="b" && s[1]=="a" && s[2]=="c"){
a.cc:15:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   15 |   }else if(s[0]=="b" && s[1]=="a" && s[2]=="c"){
a.cc:15:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   15 |   }else if(s[0]=="b" && s[1]=="a" && s[2]=="c"){
a.cc:17:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   17 |   }else if(s[0]=="c" && s[1]=="a" && s[2]=="b"){
a.cc:17:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   17 |   }else if(s[0]=="c" && s[1]=="a" && s[2]=="b"){
a.cc:17:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   17 |   }else if(s[0]=="c" && s[1]=="a" && s[2]=="b"){
a.cc:19:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   19 |   }else if(s[0]=="a" && s[1]=="c" && s[2]=="b"){
a.cc:19:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   19 |   }else if(s[0]=="a" && s[1]=="c" && s[2]=="b"){
a.cc:19:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   19 |   }else if(s[0]=="a" && s[1]=="c" && s[2]=="b"){
a.cc:21:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   21 |   }else if(s[0]=="b" && s[1]=="c" && s[2]=="a"){
a.cc:21:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   21 |   }else if(s[0]=="b" && s[1]=="c" && s[2]=="a"){
a.cc:21:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   21 |   }else if(s[0]=="b" && s[1]=="c" && s[2]=="a"){
a.cc:23:16: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   23 |   }else if(s[0]=="c" && s[1]=="b" && s[2]=="a"){
a.cc:23:29: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   23 |   }else if(s[0]=="c" && s[1]=="b" && s[2]=="a"){
a.cc:23:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   23 |   }else if(s[0]=="c" && s[1]=="b" && s[2]=="a"){