Language: C++

/**-------------------------
|--------From A.R.A--------|
-------------------------**/

#include <bits/stdc++.h>

/*#define ll            long long int
#define pb            push_back
#define ull           unsigned long long int
#define endl          "\n"
#define sz(c)         (c).size()
#define sall(c)       sort((c).begin(),(c).end())
#define rsall(c)      sort((c).rbegin(),(c).rend())
#define rev(c)        reverse((c).begin(),(c).end())
#define FOR(i,n)      for(ll i=0;i<n;i++)
#define max3(a,b,c)   max(max(a,b),c)
#define min3(a,b,c)   min(min(a,b),c)
#define input(a,i,n)  for(ll i=0;i<n;i++){      cin>>a[i];}
#define output(a,i,n) for(ll i=0;i<n;i++){cout<<a[i]<<" ";}

using namespace std;
int64_t R=1;
void solution(){
    int64_t x,n,ml=-1,mr=-1,q,mx=0;
    cin>>x>>n;
    
    if(n==0){cout<<x<<endl; return;}
    
    vector <int64_t> pos(101);
    pos[0]=-1;
    mx=x;
    for(int i=1;i<=n;i++){
        cin>>q;
        pos[q]=q;
        mx=max(q,mx);
    }
    for(int i=x;i<=mx+1;i++){
        if(pos[i]==0){ml=i;break;}
    }
    for(int i=x;i>0;i--){
       if(pos[i]==0){mr=i;break;}
    }
    if(mr==-1){
        if(abs(x)<abs(ml-x)){cout<<"0"<<endl;return;}
    }
    if(abs(x-mr)>abs(mr-x)){cout<<mr<<endl;return;}
    else{cout<<ml<<endl;return;}

}*/
int main()
{
    int a,b;
    cin>>a>>b;
    if(b%2==0 && a*2<=b && a*4>=b){cout<<"Yes"<<endl;}
    else{cout<<"No"<<endl;}
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:53:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   53 |     cin>>a>>b;
      |     ^~~
      |     std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:5:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:54:36: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   54 |     if(b%2==0 && a*2<=b && a*4>=b){cout<<"Yes"<<endl;}
      |                                    ^~~~
      |                                    std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:54:49: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   54 |     if(b%2==0 && a*2<=b && a*4>=b){cout<<"Yes"<<endl;}
      |                                                 ^~~~
      |                                                 std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:55:10: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   55 |     else{cout<<"No"<<endl;}
      |          ^~~~
      |          std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:55:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   55 |     else{cout<<"No"<<endl;}
      |                      ^~~~
      |                      std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~