Language: C++

#include bits/stdc++.h>
using namespace std;
int main(){
    int h,hh;
    int k,kk;
    int a,b,c,d;
    cin>>h>>hh>>k>>kk;
    cin>>a>>b>>c>>d;
    int x=(a*h+c*(h/10))+(b*hh+d*(hh/10));
    int y=(a*k+c*(k/10))+(b*kk+d*(kk/10));
    if(x==y){
        cout<<“even”<<endl;
    }else if(x>y){
        cout<<“hiroshi”<<endl;
    }else{
        cout<<“kenjiro”<<endl;
    }
    return 0;
}


Compiler output:
a.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include bits/stdc++.h>
      |          ^~~~
a.cc:12:15: error: extended character “ is not valid in an identifier
   12 |         cout<<“even”<<endl;
      |               ^
a.cc:12:15: error: extended character ” is not valid in an identifier
a.cc:14:15: error: extended character “ is not valid in an identifier
   14 |         cout<<“hiroshi”<<endl;
      |               ^
a.cc:14:15: error: extended character ” is not valid in an identifier
a.cc:16:15: error: extended character “ is not valid in an identifier
   16 |         cout<<“kenjiro”<<endl;
      |               ^
a.cc:16:15: error: extended character ” is not valid in an identifier
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>h>>hh>>k>>kk;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #include bits/stdc++.h>
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout<<“even”<<endl;
      |         ^~~~
a.cc:12:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:15: error: '\U0000201ceven\U0000201d' was not declared in this scope
   12 |         cout<<“even”<<endl;
      |               ^~~~~~
a.cc:12:23: error: 'endl' was not declared in this scope
   12 |         cout<<“even”<<endl;
      |                       ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #include bits/stdc++.h>
a.cc:14:9: error: 'cout' was not declared in this scope
   14 |         cout<<“hiroshi”<<endl;
      |         ^~~~
a.cc:14:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:15: error: '\U0000201chiroshi\U0000201d' was not declared in this scope
   14 |         cout<<“hiroshi”<<endl;
      |               ^~~~~~~~~
a.cc:14:26: error: 'endl' was not declared in this scope
   14 |         cout<<“hiroshi”<<endl;
      |                          ^~~~
a.cc:14:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
a.cc:16:9: error: 'cout' was not declared in this scope
   16 |         cout<<“kenjiro”<<endl;
      |         ^~~~
a.cc:16:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:15: error: '\U0000201ckenjiro\U0000201d' was not declared in this scope
   16 |         cout<<“kenjiro”<<endl;
      |               ^~~~~~~~~
a.cc:16:26: error: 'endl' was not declared in this scope
   16 |         cout<<“kenjiro”<<endl;
      |                          ^~~~
a.cc:16:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'